Getting Data In

Cronjob schedule different timezone than default system time for savedsearches

Splunker2024
New Member

I ran a |REST search to export the list of savedsearches along with their cronjob schedules.  The cronjob scheduled are not showing the time in UTC time.

ex | REST output for a search shows cronjob of 10 14 * * *,  but when I look at the REPORT tab on the SHC and see the list of saved searches, the "Next Scheduled Time" column shows 2024-04-07 18:10:00 UTC

My SHC and deployers splunk servers are both set to UTC as the default system time.  On the SHC UI, when I log in, my preferences are also set to view data in "default system time".  I am physically located in an Eastern Time Zone.

I am trying to see how to fix this so the |REST output of saved searches and their cronjob schedule is in UTC.


Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try changing your user preferences to show times explicitly in UTC.  If the cron time changes to "10 18 * * *" then the system timestamp is Americas/New_York rather than UTC.

---
If this reply helps you, Karma would be appreciated.
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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...