Dashboards & Visualizations

How to change the X title from continuous to discrete

aditsss
Motivator

Hi Everyone,

I have below query:

index=abc ns=hjk app_name=pi "ARC EVENT RECEIVED FROM SOURCE"| rex "RID:(?<RID>(\w+-){4}\w+)-(?<sourceagent>\w+-\w+)"
| stats count(RID) as count, values(RID) as RID by sourceagent| rename sourceagent as "Source"|fields Source count

I have created this as a bar chart.

I am getting X axis as count and Y axis as source.

I want X-AXIS should be discrete as it shows the file count.

How can I do that.

Can someone guide me on that.

I have attached as screenshot.

Labels (3)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Not sure what you are asking for here - counts by their very nature are discrete - do you want the label of the x-axis to be something different? do you want the legend to be different? 

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...