I want to customize time intervals for the options in Time Range Picker.
For Ex- If I select Last 7 days from drop down, currently time interval is 1 day. but I want to make it Every 5 hours whenever I select this option from drop down.
Can I configure my own time intervals for particular option in Time Range Picker drop-down.
Can I configure it in times.conf??
Please help me!
Thanks in Advance!
Please clarify whether you want to select a 5 hour time period for a search (i.e. all results are from within the last 5 hours), or you want to have the results bucketed into 5 hour spans.
If you are asking for your results over the last 7 days to be placed into time buckets of every 5 hours then my understanding is that this cannot be configured using times.conf
You could achieve this by adding a timechart span=5h at the end of your search
Not that I am aware of. This would be useful though. I think from a stance of flexibility, using the timechart span command is the best way forward for now until Splunk integrates this functionality into the software.
Thanks for you reply!
But I don't want to hard coat it in the XML because I want the time bucket of 5 hours only if user select time range Last 7 Days from Time Range Picker.
I want different time bucket if user select "Previous Month" from time range picker.
Can I customize time bucket for different time ranges??
I want to configure it for my app. I don't want it for a single graph.I don't want it in XML file.
I want to have my own time interval setting for options in Time Range Picker.
Ex- I want to set time interval as 5 hours for the graph whenever I select Last 7 days from Time Range Picker.
Can I configure it in stanza for Last 7 Days in times.conf??