Ad Widget

Collapse

Count last item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • radu990
    Junior Member
    • Oct 2017
    • 16

    #1

    Count last item

    Hello,

    Can you please advise/hint how to count the last item from a log. Just want to check if the last log happened earlier. I can't check it using text, as the logs are totally different (contains IP and name of a person)

    Kind of {Server:logrt["...\access[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9].log",@WebmailRadu,,,skip,\1_\2].count(300,{Server:logrt["....\access[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9].log",@WebmailRadu,,,skip,\1_\2].last()})}<5
Working...