Dashboards & Visualizations

1.From the dashboard or form

lmjoin
Explorer

hello i want some help to understand Query used in chart panel and form , which one we are using

add a line chart panel that uses the following search.

index=_internal | timechart count

But in form we use below Query :-
a.Click Edit to open the dashboard editor.
b.Select Add Input > Dropdown.
3.Configure the input.
a.Select the input editing icon.
b.Select Dynamic options.
c.Add the following search to generate input labels and values.

index=_internal | stats count by sourcetype | eval label=sourcetype." (".count.")"

Tags (1)
0 Karma

ansif
Motivator

@Imjoin : Your query is not clear.Do you want to know why 2 queries?

1st query is to show the count using time chart command in the panel.
2nd query is to build the input for that dashboard.

0 Karma

cpetterborg
SplunkTrust
SplunkTrust

What exactly do you want to know? Is it not doing something that you want, or do you just want to understand what it is doing, or is it something else?

0 Karma

lmjoin
Explorer

thanks for reply , i want to understand

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...