Skip to content

Instantly share code, notes, and snippets.

@jeduoliveira
Created November 13, 2019 22:31
Show Gist options
  • Save jeduoliveira/72ddc3240974c47267d9b4d36f040837 to your computer and use it in GitHub Desktop.
Save jeduoliveira/72ddc3240974c47267d9b4d36f040837 to your computer and use it in GitHub Desktop.

Revisions

  1. jeduoliveira created this gist Nov 13, 2019.
    2 changes: 2 additions & 0 deletions Contagem de pageviwes no log do apache
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@

    cat intranet_log20191113_*.log | sed -E "s/ItemId.*//g" | awk '{ print $5 ; }' | sort | uniq -c | sort -n -r | head -n 10