Splunk Search

How to find top content by some other field and also show content name?

tariqazeem123
New Member

I have data in index "main" and sourcetype "app" and fields "content_name" and "os".
So how can I create Top content by OS?

0 Karma
1 Solution

woodcock
Esteemed Legend

Like this:

index=main sourcetype=app | top content BY os

View solution in original post

0 Karma

woodcock
Esteemed Legend

Like this:

index=main sourcetype=app | top content BY os
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...