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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...