Splunk Search

How to search the most frequently indexed lines in Splunk?

raghavarora12
New Member

Hi,

I would like to know how can we get top 10 or 20 lines which get indexed in Splunk from our log files.
This is to to get those lines and tune them so that they do not consume most part of Splunk data indexing and reduce the usage so as to give way to other lines/data.

In other words, to get the set of lines which get printed very often in Splunk and consume maximum size of indexed data.

Early response will be appreciated.

0 Karma

hartfoml
Motivator

I think you are asking about what logs generate the most traffic in splunk

you can use the punctuation field to find similer logs from different systems like this * | top punct

Be sure to use this for only a short time interval (5 or 15 minutes) as this could be a very intensive dense search

0 Karma

somesoni2
Revered Legend
0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...