Splunk Cloud Platform

How to determine which logs are being utilized for specific dashboards, use-cases, or other metrics Splunk Cloud ES?

AL3Z
Builder

Hi,
How to determine which logs are being utilized for specific dashboards, use-cases, or other metrics in your Splunk Cloud ES?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

There isn't a one-click answer to this question.  Each dashboard or use-case will have to be researched separately.

Simply put, run the base search (everything before the first pipe) and append | stats count by source.  That will produce a list of sources used by that search/use-case.

If the search contains subsearches (via join or append commands then combine the base searches of each subsearch with the base search of the main search using append.

<<base search>>
| append [ <<text before first pipe of subsearch1>>]
| append [ <<text before first pipe of subsearch2>>]
| stats count by source

This method doesn't apply to searches that start with a generating command (tstats, dbxquery, inputlookup, etc.).

Be aware that some sources change names every day.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...