Skip to main content
Jan 11, 2018 5:57 AM UTC
Solved

How can I parse 'Security Log'?

Hi, all.

I am trying to parse the 'Security Log' because I have to make counting user login.

How can I parse it? Is it possible?

Thank you.

Jan 11, 2018 8:23 AM UTC

Why you want to parse it? You can access direcly from a service with SecurityLog Entity:

var logEntries =  Logs["SecurityLog"].QueryLogEntries(....);

var logEntries =  Logs["SecurityLog"].GetLogEntries(...);

2 replies

Jan 11, 2018 8:23 AM UTC

Why you want to parse it? You can access direcly from a service with SecurityLog Entity:

var logEntries =  Logs["SecurityLog"].QueryLogEntries(....);

var logEntries =  Logs["SecurityLog"].GetLogEntries(...);

kpark1Author
Jan 11, 2018 12:25 PM UTC

I want to count number of times users have logged in.

And I implemented it by your reply. Thank you.