Skip to content

Commit

Permalink
Clarified wording and samples based on feedback from #48
Browse files Browse the repository at this point in the history
  • Loading branch information
Tudor Golubenco committed May 22, 2015
1 parent 8b0ddc8 commit e6045ad
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/logstash.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ http://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.ht
output plugin]. The Elasticsearch plugin of Logstash uses the bulk API, making
indexing very efficient.

Use the <<redis-output,Redis output>> in the Packetbeat configuration file:
To use this setup, disable the Elasticsearch output and use instead the
<<redis-output,Redis output>> in the Packetbeat configuration file:

[source,yaml]
------------------------------------------------------------------------------
Expand All @@ -40,7 +41,7 @@ output:
enabled: true
# Set the host and port where to find Redis.
host: "192.168.33.13"
host: "127.0.0.1"
port: 6379
save_topology: true
------------------------------------------------------------------------------
Expand All @@ -58,7 +59,7 @@ input {
redis {
codec => "json"
host => "127.0.0.1"
port => 6380
port => 6379
data_type => "list"
key => "packetbeat"
}
Expand All @@ -67,7 +68,7 @@ input {
output {
elasticsearch {
protocol => "http"
host => "192.168.33.14"
host => "127.0.0.1"
sniffing => true
manage_template => false
index => "packetbeat-%{+YYYY.MM.dd}"
Expand Down

0 comments on commit e6045ad

Please sign in to comment.