Implementing server logs with splunk

2019-10-03 16:16发布

folks !

i'm trying to log server logs over my splunk cloud, can you please explain how to implement this, i have setted up splunk with universal forwarder and my client side logs are working fine, but how to put server side logs, i have idea about log4j.properties file but what to write in it, and in other files to reflect server logs on splunk site as well. If you could help in simple terms that would be helpful.

Thank You so Much. !!

2条回答
我想做一个坏孩纸
2楼-- · 2019-10-03 16:25

You can log server logs similarly how you logging client logs. Update the server log file path in inputs.log.

查看更多
三岁会撩人
3楼-- · 2019-10-03 16:26

I'm not sure I totally understand your question. Anyways, I think our Java Logging Libraries may be helpful for you - we support Log4j

查看更多
登录 后发表回答