Package org.graylog2.outputs
Class GelfOutput
java.lang.Object
org.graylog2.outputs.GelfOutput
- All Implemented Interfaces:
MessageOutput,Stoppable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic interfaceNested classes/interfaces inherited from interface org.graylog2.plugin.outputs.MessageOutput
MessageOutput.Factory2<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.graylog2.gelfclient.transport.GelfTransportbuildTransport(Configuration configuration) booleanvoidstop()protected org.graylog2.gelfclient.GelfMessagetoGELFMessage(Message message) voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog2.plugin.outputs.MessageOutput
initialize
-
Constructor Details
-
GelfOutput
-
-
Method Details
-
stop
public void stop() -
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceMessageOutput
-
buildTransport
protected static org.graylog2.gelfclient.transport.GelfTransport buildTransport(Configuration configuration) throws MessageOutputConfigurationException -
write
- Specified by:
writein interfaceMessageOutput- Throws:
Exception
-
write
- Specified by:
writein interfaceMessageOutput- Throws:
Exception
-
toGELFMessage
-