Skip to content

Instantly share code, notes, and snippets.

@rajsahae
Last active August 29, 2015 13:57
Show Gist options
  • Save rajsahae/9493652 to your computer and use it in GitHub Desktop.
Save rajsahae/9493652 to your computer and use it in GitHub Desktop.
input {
file {
path => ["/Users/rsahae/Downloads/8501-stdout.txt"]
}
}
output {
#elasticsearch { embedded => true }
stdout { codec => rubydebug }
}
#!/bin/bash
LOGSTASH=/Users/rsahae/dev/logstash
java -jar $LOGSTASH/bin/logstash-1.3.3-flatjar.jar agent -f $LOGSTASH/etc/basic-file.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment