Skip to content

Instantly share code, notes, and snippets.

@nside
Created December 22, 2013 05:18
Show Gist options
  • Save nside/8078726 to your computer and use it in GitHub Desktop.
Save nside/8078726 to your computer and use it in GitHub Desktop.

Revisions

  1. nside created this gist Dec 22, 2013.
    5 changes: 5 additions & 0 deletions gistfile1.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    filter {
    grok {
    match => [ "message", "%{TIMESTAMP_ISO8601:ts} \[%{USERNAME:spider}\] %{LOGLEVEL:level}: Crawled %{NUMBER:pages2:int} pages \(at %{NUMBER:pages_rate2:int%} pages/min\), scraped %{NUMBER:items2:int} items \(at %{NUMBER:items_rate2:int%} items/min\)" ]
    }
    }