Splunk Search

How do i get the count of Java Threads on a particular server using Splunk?

Shashank_87
Explorer

Hi, I want to calculate the Java threads on my 4 application servers. I have one query but i believe that gives all the threads on the server. I am only interested in Java threads which we have configured in tomcat. I want to see how that looks like on a typical day.
This is the query I have -

index=os sourcetype=vmstat host=test1 OR host=test2 OR host= test3
| multikv fields threads
| timechart avg(threads) by host

Please if someone can help on this.

Tags (1)
0 Karma

woodcock
Esteemed Legend

You have to give us more to go on. We have nothing.

0 Karma

harsmarvania57
Ultra Champion

Have a look at this add-on https://splunkbase.splunk.com/app/2647/ , it might help you.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...

span_metrics: The OpenTelemetry-Idiomatic Way to See Inside Your Services

You open a trace in Splunk Observability Cloud and everything looks fine. One root span, order-pipeline, with ...