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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...