You can write custom code to push it using Logback-gelf API or send it to 
Syslog which in turn can send it to Graylog server. Make sure when you 
create input in graylog, specify to parse date and time from message (to 
retain old date).

On Friday, June 19, 2015 at 1:00:33 AM UTC-7, Amit Gadkari wrote:
>
> We have multiple Java web based application which generates custom log 
> files using our own logger. (not log4j or logback)
> I understand we have to send data to GrayLog2 only in GELF format.
> For logback and log4j we are using appender provided by GrayLog2 and its 
> working fine.
>
> We have two problems
> a) We have started using GrayLog2 recently. But we want to send log files 
> of last 6 months to graylog2 server. 
>     What is best way of doing this.
>     Should we write our own program which will read log file and then use 
> logback or log4j appender to send messagein GELF format to GrayLog2 server
> b) For application which are using custom logger.
>     What are different possibilities for sending current log file data and 
> old log file data to GrayLog2 server
>
> Does GrayLog2 provides the outofbox utility which takes text file name and 
> send data  GELF format ?
>
>
>

-- 
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 graylog2+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to