Class SyslogConfigBean

    • Constructor Detail

      • SyslogConfigBean

        public SyslogConfigBean()
    • Method Detail

      • setSyslogPort

        public void setSyslogPort​(int syslogPort)
      • setListenAddress

        public void setListenAddress​(String listenAddress)
      • setNewSuspectOnMessage

        public void setNewSuspectOnMessage​(boolean newSuspectOnMessage)
      • setForwardingRegexp

        public void setForwardingRegexp​(String forwardingRegexp)
      • setMatchingGroupHost

        public void setMatchingGroupHost​(int matchingGroupHost)
      • setMatchingGroupMessage

        public void setMatchingGroupMessage​(int matchingGroupMessage)
      • getParser

        public String getParser()
        Description copied from interface: SyslogdConfig

        getParser

        Specified by:
        getParser in interface SyslogdConfig
        Returns:
        the parser class to use when parsing syslog messages, as a string.
      • setParser

        public void setParser​(String parser)
      • setDiscardUei

        public void setDiscardUei​(String discardUei)
      • getNumThreads

        public int getNumThreads()
        Description copied from interface: SyslogdConfig
        Number of threads used for consuming/dispatching messages.
        Specified by:
        getNumThreads in interface SyslogdConfig
        Returns:
        number of threads
      • setNumThreads

        public void setNumThreads​(int numThreads)
      • getQueueSize

        public int getQueueSize()
        Description copied from interface: SyslogdConfig
        Maximum number of messages to keep in memory while waiting to be dispatched.
        Specified by:
        getQueueSize in interface SyslogdConfig
        Returns:
        queue size
      • setQueueSize

        public void setQueueSize​(int queueSize)
      • getBatchSize

        public int getBatchSize()
        Description copied from interface: SyslogdConfig
        Messages are aggregated in batches before being dispatched. When the batch reaches this size, it will be dispatched.
        Specified by:
        getBatchSize in interface SyslogdConfig
        Returns:
        batch size
      • setBatchSize

        public void setBatchSize​(int batchSize)
      • getBatchIntervalMs

        public int getBatchIntervalMs()
        Description copied from interface: SyslogdConfig
        Messages are aggregated in batches before being dispatched. When the batch has been created for longer than this interval it will be dispatched, regardless of the size.
        Specified by:
        getBatchIntervalMs in interface SyslogdConfig
        Returns:
        interval in ms
      • getTimeZone

        public TimeZone getTimeZone()
        Description copied from interface: SyslogdConfig
        Optional: - if not null it will be used as default time zone if no time zone is given - if not set the system time zone will be used
        Specified by:
        getTimeZone in interface SyslogdConfig
      • setTimeZone

        public void setTimeZone​(TimeZone timeZone)
      • shouldIncludeRawSyslogmessage

        public boolean shouldIncludeRawSyslogmessage()
        Description copied from interface: SyslogdConfig
        Indicates whether or not to include the raw syslog message as an event parameter on events generated by Syslogd.

        Default behavior is false unless configured otherwise.

        Specified by:
        shouldIncludeRawSyslogmessage in interface SyslogdConfig
        Returns:
        whether or not to include the raw syslog message as an event parameter on events generated by Syslogd
      • setIncludeRawSyslogmessage

        public void setIncludeRawSyslogmessage​(boolean includeRawSyslogmessage)
      • setBatchIntervalMs

        public void setBatchIntervalMs​(int batchIntervalMs)