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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...