<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: splunk java agent in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84692#M1194</link>
    <description>&lt;P&gt;OS windows xp JVM java 7 tomcat 6 IDE eclipse ( running tomcat via eclipse)&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2013 15:35:37 GMT</pubDate>
    <dc:creator>1234testtest</dc:creator>
    <dc:date>2013-04-04T15:35:37Z</dc:date>
    <item>
      <title>splunk java agent</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84688#M1190</link>
      <description>&lt;P&gt;I have downloaded SplunkJavaAgent and set it to run in eclipse by giving arguments for javaagent during Tomcat startup and am getting events in Splunk through TCP but not what I want.&lt;/P&gt;

&lt;P&gt;Following are the challenges I have.&lt;/P&gt;

&lt;H2&gt;*&lt;EM&gt;1. I would like to have method names, execution timings, call trace, application/thread stalls, errors/exceptions/throwables 2. Heap analysis&lt;/EM&gt;&lt;/H2&gt;

&lt;P&gt;*&lt;/P&gt;

&lt;H2&gt;&lt;STRONG&gt;I am not sure if I am doing right in splunkagent.properties - giving the details of the file.&lt;/STRONG&gt;&lt;/H2&gt;

&lt;P&gt;agent.app.name=Tomcat&lt;BR /&gt;
agent.app.instance=MyJVM&lt;BR /&gt;
agent.userEventTags=key1=value1,key2=value2&lt;BR /&gt;
splunk.transport.internalQueueSize=10000&lt;BR /&gt;
splunk.transport.impl=com.splunk.javaagent.transport.SplunkTCPTransport&lt;BR /&gt;
splunk.transport.tcp.host=localhost&lt;BR /&gt;
splunk.transport.tcp.port=5150&lt;BR /&gt;
splunk.transport.tcp.maxQueueSize=5MB&lt;BR /&gt;
splunk.transport.tcp.dropEventsOnQueueFull=false&lt;BR /&gt;
trace.whitelist=com/myinit&lt;BR /&gt;
trace.methodEntered=true&lt;BR /&gt;
trace.methodExited=true&lt;BR /&gt;
trace.classLoaded=true&lt;BR /&gt;
trace.errors=true&lt;BR /&gt;
trace.hprof=false&lt;BR /&gt;
trace.hprof.tempfile=mydump.hprof&lt;BR /&gt;
trace.hprof.frequency=6&lt;/P&gt;

&lt;P&gt;trace.jmx=true&lt;BR /&gt;
trace.jmx.configfiles=jmx&lt;BR /&gt;
trace.jmx.default.frequency=6&lt;/P&gt;

&lt;P&gt;**&lt;/P&gt;

&lt;H2&gt;And the output I get is&lt;/H2&gt;

&lt;P&gt;** &lt;BR /&gt;
vax.management.openmbean.CompositeType(name=java.lang.management.MemoryUsage,items=((itemName=committed,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),(itemName=init,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),(itemName=max,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),(itemName=used,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)))),contents={committed=15466496, init=12582912, max=67108864, used=15221296})}), [Survivor Space]=javax.management.openmbean.CompositeDataSupport(compositeType=javax.management.openmbean.CompositeType(name=Map&lt;JAVA.LANG.STRING&gt;,items=((itemName=key,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),(itemName=value,itemType=javax.management.openmbean.CompositeType(name=java.lang.management.MemoryUsage,items=((itemName=committed,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),(itemName=init,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),(itemName=max,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),(itemName=used,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long))))))),contents={key=Survivor Space,&lt;/JAVA.LANG.STRING&gt;&lt;/P&gt;

&lt;P&gt;3:43:08.024 PM&lt;BR /&gt;&lt;BR /&gt;
1365070388024 name=jmx event_id=splunkagent mbean_domain=java.lang mbean_property_name=Code Cache mbean_property_type=MemoryPool usageUsed=3579264 memManagerNames=[CodeCacheManager] usageInit=163840 memoryType=NON_HEAP peakUsageMax=33554432 usageMax=33554432 peakUsageCommitted=3604480 peakUsageUsed=3579264 colUsageMax= colUsageUsed= colUsageInit= name=Code Cache peakUsageInit=163840 colUsageCommitted= usageCommitted=3604480 appName=Tomcat appID=MyJVM key2=value2 key1=value1&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:40:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84688#M1190</guid>
      <dc:creator>1234testtest</dc:creator>
      <dc:date>2020-09-28T13:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: splunk java agent</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84689#M1191</link>
      <description>&lt;P&gt;can you post a copy of the jmx.xml config you are using ?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 11:52:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84689#M1191</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2013-04-04T11:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: splunk java agent</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84690#M1192</link>
      <description>&lt;P&gt;Am posting only part because of character restriction of comments. I havent made any changes to jmx.xml. I went through the site but as I couldnt get what are the minimum changes that need to be done - I didnt attempt it.&lt;BR /&gt;
&lt;JMXPOLLER&gt;&lt;BR /&gt;
&lt;JMXSERVER&gt;&lt;BR /&gt;
&lt;MBEAN domain="java.lang" properties="type=Threading"&gt;&lt;BR /&gt;
&lt;ATTRIBUTE name="TotalStartedThreadCount" outputname="started"&gt;&lt;/ATTRIBUTE&gt;&lt;BR /&gt;
&lt;ATTRIBUTE name="ThreadCpuTimeSupported" outputname="cpuTimeSupported"&gt;&lt;/ATTRIBUTE&gt;&lt;BR /&gt;
&lt;ATTRIBUTE name="ThreadCpuTimeEnabled" outputname="cpuTimeEnabled"&gt;&lt;/ATTRIBUTE&gt;&lt;BR /&gt;
&lt;ATTRIBUTE name="ThreadCount" outputname="count"&gt;&lt;/ATTRIBUTE&gt;&lt;BR /&gt;
&amp;lt;attribute name="ThreadContentionMonitor&lt;/MBEAN&gt;&lt;/JMXSERVER&gt;&lt;/JMXPOLLER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 12:16:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84690#M1192</guid>
      <dc:creator>1234testtest</dc:creator>
      <dc:date>2013-04-04T12:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: splunk java agent</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84691#M1193</link>
      <description>&lt;P&gt;Can you describe your environment: OS , Java Runtime , JVM type , were you running Tomcat standalone or via an IDE etc..&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 12:59:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84691#M1193</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2013-04-04T12:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: splunk java agent</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84692#M1194</link>
      <description>&lt;P&gt;OS windows xp JVM java 7 tomcat 6 IDE eclipse ( running tomcat via eclipse)&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 15:35:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84692#M1194</guid>
      <dc:creator>1234testtest</dc:creator>
      <dc:date>2013-04-04T15:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: splunk java agent</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84693#M1195</link>
      <description>&lt;P&gt;I'm going to release an updated version to github. The JMX logic is a port of the engine from the Splunk for JMX app. When running in embedded mode with the SplunkJavaAgent the GCInfo Object returned from the java.lang GarbageCollector MBean is a different base type , hence the above object dump for the GC Mbean.&lt;/P&gt;

&lt;P&gt;You should be able to see tracing details for all classes in the com/myinit package also (presuming those classes are getting classloaded) , the above config looks mostly ok. I'd drop the "agent.userEventTags" if you are not using it.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 15:58:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84693#M1195</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2013-04-04T15:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: splunk java agent</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84694#M1196</link>
      <description>&lt;P&gt;Thank you. If there is Any tentative timeline for the release, Pl let me know&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 16:10:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84694#M1196</guid>
      <dc:creator>1234testtest</dc:creator>
      <dc:date>2013-04-04T16:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: splunk java agent</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84695#M1197</link>
      <description>&lt;P&gt;And also forgot to mention, there some ognl exceptions that were in the eclipse console...believe these also would go withthenew release&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 16:11:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84695#M1197</guid>
      <dc:creator>1234testtest</dc:creator>
      <dc:date>2013-04-04T16:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: splunk java agent</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84696#M1198</link>
      <description>&lt;P&gt;Give me a day or 2.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 17:51:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84696#M1198</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2013-04-04T17:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: splunk java agent</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84697#M1199</link>
      <description>&lt;P&gt;Hi Damien Dallimore, Kindly let me know if the update is available.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2013 03:06:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84697#M1199</guid>
      <dc:creator>1234testtest</dc:creator>
      <dc:date>2013-04-17T03:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: splunk java agent</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84698#M1200</link>
      <description>&lt;P&gt;It will be this week.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2013 03:52:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84698#M1200</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2013-04-17T03:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: splunk java agent</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84699#M1201</link>
      <description>&lt;P&gt;Go and get the latest code now : &lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/damiendallimore/SplunkJavaAgent"&gt;https://github.com/damiendallimore/SplunkJavaAgent&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2013 18:25:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/splunk-java-agent/m-p/84699#M1201</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2013-04-19T18:25:00Z</dc:date>
    </item>
  </channel>
</rss>

