Getting Data In

load comparision for different sources and count?

karthi2809
Builder

In my scenario i have to compare counts of two different JVM

A- Jvm B-jvm
jvma1 jvmb1
jvma2 jvmb2
jvma3 jvmb3

Have to compare count of the jvm

Expected output:

A- Jvm count B-jvm count
jvm1 10 jvmb1 20
jvm2 20 jvmb2 40
jvm3 100 jvmb3 200

Tags (3)
0 Karma

FrankVl
Ultra Champion

If those jvm logs are ingested with a monitor input, I expect the source field will contain the log name, yes?

So you could start with a simple and efficient:

| tstats count where index=yourindex source="/ws/jvm*" by source
0 Karma

FrankVl
Ultra Champion

Please provide more information on the data that you have and what it looks like in splunk, your question does not make much sense this way...

0 Karma

karthi2809
Builder

I have 6 jvm

/ws/jvma1/test.logs

/ws/jvmb1/test.log

Both the paths have same log file have to compare the count of jvma1 and jvmb1.How to find volume comparision from both the path.

0 Karma

somesoni2
Revered Legend

Do you've any sample query that you're using right now to do some sort of reporting of those? E.g. a query to show count of all JVMs.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...