Skip to main content
1-Visitor
January 11, 2018
Solved

How can I parse 'Security Log'?

  • January 11, 2018
  • 2 replies
  • 1994 views

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.

Best answer by CarlesColl

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

1-Visitor
January 11, 2018

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(...);

kpark11-VisitorAuthor
1-Visitor
January 11, 2018

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

And I implemented it by your reply. Thank you.