I am trying to setup Splunk to monitor a remote tomcat instance ( catalina.out ) for messages like permGen Running out of Memory
Specifically:
Exception in thread "http-bio-8080-exec-36" java.lang.OutOfMemoryError: PermGen space
I was able to install Splunk on host A, and on B i have Tomcat running, plys Universal forwarder running with:
/opt/splunkforwarder/etc/apps/SplunkUniversalForwarder/default/inputs.conf
[monitor:///usr/share/apache-tomcat-7.0.47/logs]
sourcetype = access_common
/opt/splunkforwarder/etc/system/local/outputs.conf
forwardedindex.0.whitelist = .
forwardedindex.1.whitelist = _.
[tcpout:default_index] server=<server where splunk server is installed>:9997
So how do i :
1. Make sure the forwarder HAS Connectivity and is able send logs, some command command line utilities perhaps
2. How do i setup the receiver / splunk server ?
... View more