Dashboards & Visualizations

Debugging dashboard queries

lassel
Communicator

I am working on a dashboard with dynamic input fields.
It would be very useful to see the actual query that Splunk is running, based on my input fields.

Is it possible to display the query?

0 Karma
1 Solution

jeffland
SplunkTrust
SplunkTrust

One way to do it is go to Activity -> Jobs which will show you the recent searches.

View solution in original post

Runals
Motivator

Are you wanting to see the query dynamically within the dashboard for people using it OR are you asking more from a troubleshooting perspective? For troubleshooting what I tend to do is adjust my inputs in order to get the query to run and then click the magnifying glass in the lower left corner of the dashboard panel. That opens the query into another browser tab and allows me to see what Splunk is trying to run.

lassel
Communicator

I like this answer too!

0 Karma

jeffland
SplunkTrust
SplunkTrust

One way to do it is go to Activity -> Jobs which will show you the recent searches.

vganjare
Builder

You can check the actual query ran in Job Inspector. It is present in Search Properties under eventSearch

Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...