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

 

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

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...