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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...