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 for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

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 ...