Implementing server logs with splunk

眉间皱痕 提交于 2019-12-13 09:30:09

问题


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. !!


回答1:


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




回答2:


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



来源:https://stackoverflow.com/questions/30131870/implementing-server-logs-with-splunk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!