Splunk Search

splunk agent java

indeed_2000
Motivator

Hi
Hope you are well,

I want to use splunk-agent-java and read description of this page
https://github.com/splunk/splunk-agent-java

1-this link not work
http://splunk-base.splunk.com/apps/25505/splunk-for-jmx

2-I download this file splunkagent.tar.gz
and extact to this path /opt/splunkagent.jar on one of my server that splunk forwarder already installed on it.

3-here is my splunkagent.properties

agent.app.name=sokantest
agent.app.instance=MyJVM
agent.userEventTags=key1=value1,key2=value2

splunk.transport.impl=com.splunk.javaagent.transport.SplunkTCPTransport
splunk.transport.tcp.host=192.168.1.1
splunk.transport.tcp.port=9997
splunk.transport.tcp.maxQueueSize=5MB
splunk.transport.tcp.dropEventsOnQueueFull=false

trace.blacklist=com/sun,sun/,java/,javax/,com/splunk/javaagent/
trace.methodEntered=true
trace.methodExited=true
trace.classLoaded=true
trace.errors=true

trace.hprof=false
trace.hprof.tempfile=mydump.hprof
trace.hprof.frequency=600

trace.jmx=false
trace.jmx.configfiles=jmx
trace.jmx.default.frequency=60

4-should I do something on my server side? I can't find any index or sourcetype!

5-also read this
https://www.slideshare.net/damiendallimore/splunk-java-agent

Any idea?  @Damien_Dallimor  
Thanks

 

Labels (1)
Tags (3)
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...