Hi,
yes, host name is splunkhost. ( should the "set host" be "splunkhost" in TCP Data-Input in Splunk UI)
Configuration file:
---------------------
Common Agent options
---------------------
agent.app.name=Tomcat
agent.app.instance=jdk1.7.0_65
agent.userEventTags=key1=value1,key2=value2
-------------------------
Splunk Transport options
-------------------------
splunk.transport.internalQueueSize=10000
splunk.transport.impl=com.splunk.javaagent.transport.SplunkTCPTransport
splunk.transport.impl=com.splunk.javaagent.transport.SplunkStdOutTransport
splunk.transport.tcp.host=splunkhost
splunk.transport.tcp.port=5150
splunk.transport.tcp.maxQueueSize=5MB
splunk.transport.tcp.dropEventsOnQueueFull=false
trace.whitelist=com/vogella
trace.blacklist=com/sun,sun/,java/,javax/,com/splunk/javaagent/
trace.methodEntered=true
trace.methodExited=true
trace.classLoaded=true
trace.errors=true
periodically dump hprof file(using JMX operation call), read in file & parse, send events to Splunk, delete file
trace.hprof=true
trace.hprof.tempfile=D:\344235\mydump.hprof
trace.hprof.tempfile=/etc/tmp/dump.hprof
in seconds
trace.hprof.frequency=10
Embedded JMX polling , all other JMX config is in the JMX XML configuration file.
trace.jmx=true
name of XML files(minus the ".xml" suffix) that should reside in the root of splunkagent.jar
trace.jmx.configfiles=jmx
trace.jmx.configfiles=goo,foo
in seconds
trace.jmx.default.frequency=20
trace.jmx.goo.frequency=30
... View more