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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...