Splunk Search

How to Check Remote Server's Date and Time Settings (Windows)

classicphil913
New Member

I was wondering if there was a way to search for the Date and Time settings on a remote server? I can't seem to find anything on my own. Thank you.

Tags (2)
0 Karma

LeeSart
Explorer

I use the Splunk_TA_windows app to collect the date and time from all of my Windows servers. Specifically, the script win_timesync_status.bat. You can download the app from Splunkbase: https://splunkbase.splunk.com/app/742/

I found I had to add a few lines into props.conf for the app, to get the events to break correctly:

[Script:timesync]
BREAK_ONLY_BEFORE = Current time:
TIME_FORMAT = %d/%m/%Y %k:%M:%S.%3N
TIME_PREFIX = time:\s[a-zA-Z]+\s
0 Karma
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...