Splunk Search

How do you get events time interval as 15 minutes on timechart x-axis?


Hi one and all,
I have my log data as below for every 15min interval.


This is how i have data for 24 hrs. When i do 'timechart` the graph bins automatically showing with 4 hrs gap on scale. But i wanted 15m wise points on graph along with the time on x-axis.
please see the below picture for expected output
alt text

what i am getting is below from timechart command
alt text

I want 15m scale on x-axis.can some one help on this?
Thanks in advance.

0 Karma


Can you show the "statistics tab" with _time and values that would be helpful

0 Karma


Hi @prathapkcsc,

this might help you.


so for your search that should look like this

...| timechart span=15m fixedrange=true ...

you need to edit the SimpleXML options of the chart on the dashboard, adding the following:

<option name="charting.scaleX">1</option>
<option name="charting.axisLabelsX.majorUnit">P0Y0M0DT0H15M0S</option>
0 Karma


I tried this. It didn't work with my dash board.

0 Karma
Get Updates on the Splunk Community!

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...