Dashboards & Visualizations

splunk dashboard basequery with datamodel

imurpalvicky
Engager

Hi Team,
I am trying to create a dashboard with base query taking values from data model . But it is not yielding any results(Only when i have that in basequery). Seems the base query syntax is wrong , since it starts with pipeline (|) . Any help on where i am going wrong.Thanks in advance

search id="test_basequery"
query | datamodel test_stats_data_model test_stats_data_set search
/query

0 Karma

lakshman239
Influencer

I have a dashboard with dropdown [ having values for sourcetype] and then base search

|datamodel Authentication Authentication search | search sourcetype=$st$

this should then take the sourcetype and pull the relevant data from datamodel. would this help?

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...