Skip to main content
Splunk Lantern

Using the top and rare commands


You're looking to create quick and dynamic search results using the top and rare commands to find the most or least common values across multiple fields - two commands that share the same search syntax.


This video shows you how to effectively use the top and rare commands in your searches. You'll learn:

  • An introduction to thetop and rare commands
  • Examples of basic searches using top or rare
  • How to use top and rare to find the most or least common values across multiple fields

Next steps

This article has been brought to you by Splunk Education. We’ve learned that the strongest superheroes up-skill with Splunk Education. That’s why we are making Splunk training easier and more accessible than ever with more than 20 self-paced, free eLearning courses. You can start with foundational courses like Intro to Splunk or dive into more advanced courses like Search Under the HoodResult Modification, and many more. Enroll today so you have the skills to detect the good, the bad, and the unproductive.

In addition, these resources might help you understand and implement this guidance:

  • Splunk Docs: Top
  • Splunk Docs: Rare

Splunk OnDemand Services: Use these credit-based services for direct access to Splunk technical consultants with a variety of technical services from a pre-defined catalog. Most customers have OnDemand Services per their license support plan. Engage the ODS team at if you require assistance.