Skip to content

Instantly share code, notes, and snippets.

@malbin
Created December 11, 2012 02:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malbin/4255395 to your computer and use it in GitHub Desktop.
Save malbin/4255395 to your computer and use it in GitHub Desktop.
input {
stdin {
type => "stdin-type"
tag => "stdin-from-cali"
}
}
filter {
tag = ['stdin-from-cali'] {
... >do stuff< ...
}
}
@electrical
Copy link

input {
stdin {
path => ['/some/path/to/a/file']
type => "stdin-type"
tags => "stdin-from-cali"
}
}

filter {
grok {
tag => ['stdin-from-cali']
pattern => ['definepatternhere']
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment