Integrating your application¶
A lot of logging frameworks already provide handlers for logging to logstash. Just look around, maybe there already is one out there for your framework/language. Here are some examples of handlers for different languages:
Java: using log4j with via SocketAppender.
When configuring your handler, use the canonical FQDN of your loghost as the logstash host, e.g. myapp00.gocept.net.
You will most likely have to configure some kind of listener on the logstash side. See the Logstash section for how to add your configuration to logstash.