Watcher Docs: Fixed LS config example to work with latest ES output plugin.

Original commit: elastic/x-pack-elasticsearch@57b37e8d5f
This commit is contained in:
debadair 2015-09-22 12:13:26 -07:00
parent 7c8bad6b53
commit 4ed8ed4ced
1 changed files with 2 additions and 6 deletions

View File

@ -34,16 +34,12 @@ input {
}
output {
elasticsearch {
protocol => "http"
host => "localhost" <2>
}
elasticsearch { }
stdout { }
}
----------------------------------------------------------
<1> Checks the feed every hour.
<2> The hostname or IP address of the host to use to connect to your Elasticsearch cluster.
+
For more information see {logstash-ref}/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-host[Elasticsearch output] in the Logstash Reference.
. Run Logstash with the `rss.conf` config file to start indexing the feed: