Package com.splunk.logging
Class HttpEventCollectorLoggingHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- com.splunk.logging.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 Summary
Constructors Constructor Description HttpEventCollectorLoggingHandler()
HttpEventCollectorLoggingHandler c-or
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.util.logging data handler close callbackvoid
flush()
java.util.logging data handler callbackvoid
publish(LogRecord record)
java.util.logging data handler callback-
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
-
-
-
Method Detail
-
publish
public void publish(LogRecord record)
java.util.logging data handler callback
-
flush
public void flush()
java.util.logging data handler callback
-
close
public void close() throws SecurityException
java.util.logging data handler close callback- Specified by:
close
in classHandler
- Throws:
SecurityException
- throw security exception
-
-