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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...