Dashboards & Visualizations

How to avoid the automatic invocation of a metadata search upon a user's launch of a dashboard?

ddrillic
Ultra Champion

Apparently as each user reaches the launch page of their dashboard, Splunk issues the following expensive search -
| metadata type=sourcetypes | search totalCount > 0

Why is it and how can we avoid it as it puts a huge strain on system?

The search is marked as Ad Hoc in the DMC which is a bit misleading.

The following thread touches on it - Search Summary Page Automatically Runs Real-Time Searches?

0 Karma

Claw
Splunk Employee
Splunk Employee

This problem is addressed for version 6.x users in the accepted answer listed as: https://answers.splunk.com/answers/141179/how-to-remove-automatic-real-time-searches-that-run-when-u...

I have to admit that I was a little surprised by this problem as I never knew that these searches were real time.

On the flip side they are very efficient searches as the are reading all of the data directly from the metadata.

Also it is the only case I know of that you can still run real time searches even when turning off real time searches for that user.

0 Karma

ddrillic
Ultra Champion

-- On the flip side they are very efficient searches as the are reading all of the data directly from the metadata.
Strange, as we see many such searches that run for 3-5 minutes...

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...