Splunk Search

Search for then report top 20 requested dest_host?

chefboyardee
New Member

I am trying to write a query that will search for all the requested destination hosts and then take the search results and produce a visual report (graphic) showing the top 20 or so destinations. I'm very new to splunk so any/all help would be very appreciated. Thank you.

Tags (1)
0 Karma
1 Solution

LCM
Contributor

It depends what your logfile and its entry looks like, but it could be something similar like:

  • < your_search > | chart count by dest_host | sort -count

If you have your result, click on the "Build report" button on the upper right corner to create a graphical report

View solution in original post

LCM
Contributor

It depends what your logfile and its entry looks like, but it could be something similar like:

  • < your_search > | chart count by dest_host | sort -count

If you have your result, click on the "Build report" button on the upper right corner to create a graphical report

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...