Splunk Search

The difference in the number of events on different hosts

nalia_v
Loves-to-Learn Everything

How to find the difference of events between hosts ?
If the number of events on different hosts differs by 15 ?1.jpg

Labels (1)
Tags (1)
0 Karma

thambisetty
SplunkTrust
SplunkTrust

I didn’t say by hostname in eventstats

remove by hostname in eventstats

————————————
If this helps, give a like below.
0 Karma

thambisetty
SplunkTrust
SplunkTrust

If there are only two rows then you can use range. Add below search to your search.

| eventstats range(EventCount) as diff_event_count

| where diff_event_count=15

————————————
If this helps, give a like below.
0 Karma

nalia_v
Loves-to-Learn Everything

@thambisetty I will definitely like it 😃 if you can help with the request

The main request erased, I'm sorry, all the same data.
The request itself for the last hour was supposed to show by example the difference in events of 5 pieces. I took 5 as an example.2.png

In your version, I did not find this difference in 5 pieces.

3.png

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...