Skip to content

Instantly share code, notes, and snippets.

@jonog
Last active August 29, 2015 14:10
Show Gist options
  • Select an option

  • Save jonog/c36cc5ac1d679defdda0 to your computer and use it in GitHub Desktop.

Select an option

Save jonog/c36cc5ac1d679defdda0 to your computer and use it in GitHub Desktop.
Logstash Testing
input {
stdin {
type => "stdin-type"
}
file {
type => "syslog"
path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ]
start_position => "beginning"
}
file {
type => "experiment"
path => [ "/var/opt/log" ]
start_position => "beginning"
}
tcp {
type => "docker"
port => 1470
}
udp {
type => "docker"
port => 1470
}
}
output {
stdout {
codec => rubydebug
}
elasticsearch {
embedded => true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment