Splunk Search

Relative time search to find last updated dashboards

SplnkUse
Path Finder

Hello,

 

Can you tell me please why the below does not work?

| rest splunk_server=local servicesNS/-/-/data/ui/views/
| where update > relative_time(now(),"-10d@d")

 

I want to search the dashboards that were updated in the last 10 days but it does not seem to return anything. Is it because I need to fix the timestamp format?

 

Thanks!

0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| rest splunk_server=local servicesNS/-/-/data/ui/views/
| where strptime(updated,"%FT%T") > relative_time(now(),"-10d@d")

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| rest splunk_server=local servicesNS/-/-/data/ui/views/
| where strptime(updated,"%FT%T") > relative_time(now(),"-10d@d")
0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...