Splunk Search

timespan not providing desired result

praddasg
Path Finder

alt textalt textHello,

I am trying to have timespan to show results for every 2 mins but it seems to reflect the default of 5 mins

earliest=-180m
index=apps
sourcetype=pos-generic:prod
"com.grubhub.pos.generic.orders.service.OrdersService: Received request to change status"
partner_account_name="Level Up"
| dedup orderId
| search status=REJECTED
| timechart count by status minspan=2m

Tags (1)
0 Karma
1 Solution

efavreau
Motivator

Try this instead for your last line:

| timechart span=2m count by status
###

If this reply helps you, an upvote would be appreciated.

View solution in original post

0 Karma

efavreau
Motivator

Try this instead for your last line:

| timechart span=2m count by status
###

If this reply helps you, an upvote would be appreciated.
0 Karma

praddasg
Path Finder

ahh i was using at the wrong place, thank you it works.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...