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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...