Security

Can any one help with a search language that could determine system logins after core hours?

essibong1
New Member

Can any one help with a search language that could determine system logins after core hours?

Tags (2)
0 Karma

to4kawa
Ultra Champion
index=your_index EventCode=7001 OR EventCode=7002 sourcetype=wineventlog
| eval core_time_start="08:00:00", core_time_end="17:00:00"
| foreach core_time*
    [eval <<FIELD>> = tonumber(strftime(strptime('<<FIELD>>',"%T"),"%H%M%S"))]
| where tonumber(strftime(_time,"%H%M%S")) < core_time_start OR tonumber(strftime(_time,"%H%M%S")) > core_time_end

Hi, @essibong1

  1. your system
  2. your core time
  3. your log

I do not know the details.
This query provides non-standard Windows logon and logoff times logs.

0 Karma
Get Updates on the Splunk Community!

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 ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...