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!

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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...