Hi Iain,

Am Mittwoch, 22. Oktober 2014 18:06:33 UTC+2 schrieb Iain Keddie:
>
> Please could you point me in the right direction for a simple way to get 
> text from an arbitrary file, into Graylog2?
>

In general you can set-up a Raw UDP or Raw TCP Input on your Graylog2 
server and send your logs into it using netcat (`nc`) or a similar program.


I have a 40+ text logfiles from a number of web application servers (tomcat 
> and weblogic), and I'd like to get the output sent to graylog.  
>

Those Java web applications are probably using a logging framework like 
Log4j, Logback, or good old java.util.logging, so I would suggest getting 
one of the existing GELF appenders 
from http://www.graylog2.org/resources/gelf/libraries and let them directly 
log into your Graylog2 with a GELF Input.
 

I can see that the GELF format seems a sensible transport format. Is there 
> standard a tool which can effectively "tail" a file and send the data to 
> graylog?
>

Apart from the already mentioned logstash (with GELF output 
<http://logstash.net/docs/1.4.2/outputs/gelf>) you could take a look at 
NXLOG <http://nxlog-ce.sourceforge.net/> which also provides a native GELF 
output.


Cheers,
Jochen

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to