All Apps and Add-ons

How to search all protocols used in our network every 24 hours?

rene847
Path Finder

Hi All,

I would like some help about a search in Splunk. I want to pull out all the protocols used in our network.

For example, yesterday, we had millions of ping requests from a user. And, we noticed from another user, that the DNS 8.8.8.8 was used instead of our own DNS. In summary, we would like to have a search that will allow us to see all the protocols used in our network every 24 hours (or top ten).
I did not find this information on the Splunk web site, or or ask via .conf2015.
This will greatly assist me in my work.

Do you have an idea of how to do this search?

Thank you for your help again.
René R.

0 Karma

MuS
SplunkTrust
SplunkTrust

Hi rene847,

the main question here is: where and how to find those events?

Let's assume your events are in an index called network and the protocols are identified by the field protocol, a simple search like this will get the expected result:

 index=network protocol=* earliest=-7d@d | timechart span=1d count by protocol limit=10

This will search in index network all events which contain a field called protocol over the last 7 days, count each protocol per day and return the top ten results over the time.

If you need further assistance, please add more detailed information to this question like where to find the events, what do the events look like, what exactly is the expected result, what have you tried so far?

Hope this helps ...

cheers, MuS

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...