Class HttpEventCollectorLoggingHandler


  • public final class HttpEventCollectorLoggingHandler
    extends Handler
    An input handler for Splunk http event collector. This handler can be used by by specifying handlers = com.splunk.logging.HttpEventCollectorLoggingHandler in java.util.logging properties file.
    • Constructor Detail

      • HttpEventCollectorLoggingHandler

        public HttpEventCollectorLoggingHandler()
        HttpEventCollectorLoggingHandler c-or
    • Method Detail

      • publish

        public void publish​(LogRecord record)
        java.util.logging data handler callback
        Specified by:
        publish in class Handler
        Parameters:
        record - is a logging record
      • flush

        public void flush()
        java.util.logging data handler callback
        Specified by:
        flush in class Handler