Login Session Count

Discussion in 'Apache' started by robynciV, Jan 28, 2019.

  1. #1
    Hi,

    Seeking help in obtaining the login count with the command below. I found the command from sites online providing examples.

    grep "04/Jan" weblogin.jsp http1.1" 200 | cut -d[ -f2 | cut -d] -f1 | awk -F: '{print $2":00"}' | sort -n | uniq -c

    I'm trying to capture the date and the login count by using the application URL with the 200 status.


    Thank you
     
    robynciV, Jan 28, 2019 IP
  2. SpacePhoenix

    SpacePhoenix Well-Known Member

    Messages:
    197
    Likes Received:
    28
    Best Answers:
    2
    Trophy Points:
    155
    #2
    Are you trying to get a count of how many times a user has logged in or the total amount of users logged in at the current time?
     
    SpacePhoenix, Jan 28, 2019 IP
  3. robynciV

    robynciV Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    Hi,
    It will be the total count of how many users has logged in and the hourly count of their logged in instance.


    Thank you.
     
    robynciV, Jan 29, 2019 IP