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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...