Dashboards & Visualizations

Distribution Graph: How to change the interval span for numeric values on the x-axis without the timechart command?

soniquella
Path Finder

Hi there. I hope someone can help.

I am trying to create a distribution graph based on frequency of the number of times a file of a specific size is used over our AHFT service.
I have the quantities, but need to set a custom internal of around 20-30 on the x-axis. I have successfully resolved this on another graph, but this was time based so was able to use the timechart option.

How do you change the interval span for numeric values on the x-axis?

Please see below:

index=mail MAILHOST.co.uk NOT To="support@splunk.com, HOST.co.uk"    | rex field=_raw "(?m)_____\s+A\s+file\s+has\s+been\s+sent\s+to\s+you\s+by\s* (?<AHFT_From>.*\))"    | rex field=_raw "(?m)its\s+size\s+is\s*(?<FileSize>.*)\s+bytes"     | search FileSize="*" AHFT_From="*" linecount=39 | eval FileSize = round(FileSize/1024/1024) | stats count by FileSize | sort by FileSize stats count by FileSize | sort by FileSize 

Any help would be greatly appreciated.

Kind regards,

Rob.

0 Karma

sundareshr
Legend
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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...