Class SyslogDao

    • Constructor Detail

      • SyslogDao

        public SyslogDao​(String host,
                         int port)
      • SyslogDao

        public SyslogDao​(com.cloudbees.syslog.sender.UdpSyslogMessageSender udpSyslogMessageSender,
                         String host,
                         int port)
    • Method Detail

      • setMessageFormat

        public void setMessageFormat​(com.cloudbees.syslog.MessageFormat format)
      • getMessageFormat

        public com.cloudbees.syslog.MessageFormat getMessageFormat()
      • push

        public void push​(String data)
                  throws IOException
        Description copied from interface: LogstashIndexerDao
        Sends the log data to the Logstash indexer.
        Parameters:
        data - The serialized data, not null
        Throws:
        IOException - The data is not written to the server