Dashboards & Visualizations

How to generate a column chart off a lookup?

Anthonylucian
Path Finder

Hey! I have a lookup where we manually enter in a number to a corresponding day. It looks something like this.

Monday | 2

Tuesday | 3

Wednesday | 2

Thursday | 5

Friday | 3

Is there a way to make this into a column chart where the x axis is the days of the week and the y axis is the corresponding number?

I tried to just put it in a column chart but it defaults to flipping the x/y axis, I then tried to transpose but along it still doesnt format correctly.

Labels (1)
0 Karma
1 Solution

s2_splunk
Splunk Employee
Splunk Employee

This should work as long as your fields are returned in the correct order, i.e. day name followed by the numerical value. You can always add 

| fields weekday, number

to ensure that.

View solution in original post

s2_splunk
Splunk Employee
Splunk Employee

This should work as long as your fields are returned in the correct order, i.e. day name followed by the numerical value. You can always add 

| fields weekday, number

to ensure that.

Anthonylucian
Path Finder

Thank you!

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...