Skip to content

Commit

Permalink
Create quickstart.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
shadabahmed committed Mar 13, 2014
1 parent 996361d commit 7f73e93
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions sample_logstash_configurations/quickstart.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
input {
file {
type => "rails logs"
path => "/Users/shadab/test_project/logstash_development.log"
codec => json {
charset => "UTF-8"
}
}
}

output {
# Print each event to stdout.
stdout {
codec => rubydebug
}

elasticsearch {
# Setting 'embedded' will run a real elasticsearch server inside logstash.
# This option below saves you from having to run a separate process just
# for ElasticSearch, so you can get started quicker!
embedded => true
}
}

0 comments on commit 7f73e93

Please sign in to comment.