Dashboards & Visualizations

How to display three fields in a chart

aditsss
Motivator

Hi Everyone,

I have one requirement.

My query is like this

index="_internal" EventLogFiles
| eval DashboardName=if(like(uri, "%EventLogFiles%"), "EventLogFiles", "Unknown Dashboards")
| stats count by DashboardName user |append[search index="_internal" Extract
| eval DashboardName=if(like(uri, "%Extract%"), "Extract", "Unknown Dashboards")
| stats count by DashboardName user ]|sort -count

I am getting result like:

DashboradName                                  User                         count

Extract                                                      ma                                   1

I want to display the three fields  in Bar chart form.

Can someone guide me how can I do this.

 

Labels (2)
0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @aditsss 

I want to display the three fields  in Bar chart form// may we know what would be the 3rd field you want on the bar chart?

Some document references for the bar chart:

https://docs.splunk.com/Documentation/Splunk/8.0.6/Viz/ColumnBarCharts

 

PS - Karma points are appreciated, thanks!

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

aditsss
Motivator

@inventsekar 

The three fields are:

DashboardName ,User and count.

I want to display all three in bar chart but was not able to display.

Can someone guide me.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...