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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...