All Apps and Add-ons

Splunk dash-board - How to show extracted fields on the left like when you search

cyler
New Member

When I do a normal search I see the extracted fields on the left.

alt text

In the dashboard that I am creating, how do I show that info too?

Here is my dashboard - the extracted feilds are not showing on the left;

alt text

0 Karma

PowerPacked
Builder

Hi @cyler

You can show values of only one field not all the fields & in your scenario its Hostname Values.

The Box your are showing in the dashboard is Input Tab where you give the Input and Dashboard or Form populates based on the Input you given in that tab.

Thanks

0 Karma

PowerPacked
Builder
add this to Dashboard XML to get the Hostname values as dropdown

  <label>Select a hostname :</label>
  <choice value="null">Choose hostname</choice>
    <query>Your search | stats count by hostname | sort hostname</query>
  </search>
  <fieldForLabel>hostname</fieldForLabel>
  <fieldForValue>hostname</fieldForValue>
</input>
0 Karma

Sukisen1981
Champion

Your request is not clear, why would you want the dashboard to show extracted fields on the left?
This is not an expected behaviour in a dashboard.
When you search on the default search app, you get a result of all events matching your search, a dashboard is something different, it is more of a UI to end users to view extracted events (and add more sense to them!) by building charts, tables etc.
I suspect though your use case is something else....can you please elaborate?

0 Karma
Get Updates on the Splunk Community!

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 ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...