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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...