File: ifconfig.grok

package info (click to toggle)
grok 1.20110708.1-4.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,408 kB
  • ctags: 1,006
  • sloc: ansic: 3,469; ruby: 987; makefile: 276; sh: 124; yacc: 106
file content (9 lines) | stat: -rw-r--r-- 128 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
program {
  load-patterns: "patterns/base"
  exec "ifconfig"

  match {
    pattern: "%{IP}"
    reaction: "Found: %{IP}"
  }
}