Refine your search:

8
2

There's an app on Splunkbase for WebSphere, but is anyone building a similar app for Tomcat?

asked 09 Aug '10, 18:45

Justin%20Grant's gravatar image

Justin Grant
1.4k4533
accept rate: 44%


4 Answers:

We're gonna take a stab at it. Maybe within a month we can get something on Splunkbase.

link

answered 02 Mar '11, 22:43

cfergus's gravatar image

cfergus
654
accept rate: 16%

I have a few "JVM" Splunk apps in the pipeline that augment the functionality of Splunk for JMX. Tomcat is one such app.

In the interim you can use Splunk for JMX and point it to the "java.lang" and "Catalina" MBean domains, there is a mass of useful JMX attributes and operations to chew over. I'm currently doing this for some large Tomcat deployments.

Here is a simple example config file to get you started.

<jmxpoller>

<!-- custom splunk output formatter-->

<formatter className="com.dtdsoftware.splunk.formatter.TokenizedMBeanNameQuotesStrippedFormatter" />

<cluster name="TomcatInstances" description="All My Tomcat Servers">

<!-- 
A really simple example, this just discovers and dumps ALL MBean attributes in the "Catalina" and "java.lang" domains 
You'll want to figure out what attributes and operations you are specifically interested in and declare them individually.
-->

<mbean domain="Catalina" properties="*" dumpAllAttributes="true" />
<mbean domain="java.lang" properties="*" dumpAllAttributes="true" />

<!--There are many different ways to connect to the JMX server, read the docs.-->

<jmxserver host="host1" jvmDescription="Tomcat1" jmxport="9000"/>
<jmxserver host="host2" jvmDescription="Tomcat2" jmxport="9000"/>
<jmxserver host="host3" jvmDescription="Tomcat3" jmxport="9000"/>
<jmxserver host="host4" jvmDescription="Tomcat4" jmxport="9000"/>

</cluster>

</jmxpoller>

Read the PDF docs first, but feel free to drop me a line if you want any help with a Splunk for JMX config file setup for Tomcat.

link

answered 06 Oct '11, 15:49

Damien%20Dallimore's gravatar image

Damien Dalli...
1.2k16
accept rate: 14%

no app for tomcat yet ? bad!

link

answered 26 Oct '11, 11:11

muddu4you's gravatar image

muddu4you
211
accept rate: 0%

Any progress?

link

answered 06 Oct '11, 14:04

mdkellynzqa's gravatar image

mdkellynzqa
1
accept rate: 0%

Tomcat app would be useful

(28 Nov '11, 14:17) rroberts
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×202
×72
×17
×4
×2

Asked: 09 Aug '10, 18:45

Seen: 1,393 times

Last updated: 28 Nov '11, 14:17

Copyright © 2005-2012 Splunk, Inc. All rights reserved.