Fluentd support for JBOSS logs

244 views
Skip to first unread message

Gaurav Mittal

unread,
Mar 2, 2021, 10:50:43 PM3/2/21
to Fluentd Google Group
Hi Team,

I am looking for a support for the JBOSS EAP7.5 logs (server.log, audit.log, host-controller.log, process-controller.log) to be streamed via fluentd. (td-agent)

Currently i am using below configuration.
<source>
  @type tail
  format none
  path /opt/dms/logs/jboss/*/log/*.log
  pos_file /var/lib/td-agent/pos/dms_jboss.pos
  read_from_head true
  tag dms_jboss
</source>

But this is not comming in a proer format.

Kindly suggest.

Regards,
Gaurav Mittal

Kentaro Hayashi

unread,
Mar 9, 2021, 11:12:11 PM3/9/21
to Fluentd Google Group

Hi,

There is no built-in support for JBOSS EAP logs, so it is required to parse by the custom parser.
I'm not tested but the following example may help you [1]


Regards,


2021年3月3日水曜日 12:50:43 UTC+9 gaura...@gmail.com:

Gaurav Mittal

unread,
Mar 9, 2021, 11:57:12 PM3/9/21
to flu...@googlegroups.com
Hi,

Thanks for the reply. I had seen this link earlier. But the formatter expression is not working to parse the logs. I wrote to the owner also, but no luck.

--
You received this message because you are subscribed to a topic in the Google Groups "Fluentd Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/fluentd/E9Xq_-H3FLw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to fluentd+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fluentd/ef27c071-72dc-404e-a063-ac102fe13260n%40googlegroups.com.


--
Regards,
Gaurav Mittal

Kentaro Hayashi

unread,
Mar 10, 2021, 7:56:24 PM3/10/21
to Fluentd Google Group
Hi,

So, showing your /opt/dms/logs/jboss/*/log/*.log
(It is ok partially to recognize actual log format) and
the expected output may help to get a bit of advice from someone.

Regards,



2021年3月10日水曜日 13:57:12 UTC+9 gaura...@gmail.com:
Reply all
Reply to author
Forward
0 new messages