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 + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

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

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...