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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...