Splunk Search

How to use timechart span=30m to start with the exact time

anil1219
Engager

Hi,

My requirement is to find 30 mins result using timechart span=30m from the start time that I have mentioned.

Start time can be e.g say 11:34 AM OR 11:38 AM OR 11:42 AM etc.

But instead getting result in 30 mins internal say 11:30 AM, 12 PM, 12:30 PM, 1 PM etc.

 

Labels (1)
0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

Use the aligntime parameter to timechart, i.e.

| timechart span=30m aligntime=@m...

View solution in original post

0 Karma

bowesmana
SplunkTrust
SplunkTrust

Use the aligntime parameter to timechart, i.e.

| timechart span=30m aligntime=@m...
0 Karma

anil1219
Engager

Thank you. It works.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...