Home > front end >  How can I plot a user activities during 24 hour on a day based on server logs?
How can I plot a user activities during 24 hour on a day based on server logs?

Time:02-20

I have server logs for each user which is in the following format:

DateTime Event
2021-02-10 13:25:44 login
2021-02-10 13:26:08 Run Script

I have separate logs for each user, so all events are conducted by one user. The example above is not inclusive of all columns and this is formatted/cleaned up data. The events are not of interest, what I am trying to plot is the activity of the user X on a given day by the hour, i.e.

A chart (x-axis: dates, y-axis: 24 hour) showing user X had 2 activities between 1-2 PM.

Any help is appreciated.

CodePudding user response:

You might want to use enter image description here

  • Related