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!

Fastest way to demo Observability

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

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...