Correct response code to align with sample in docs

Fixes #3854
This commit is contained in:
izeye 2015-09-03 21:36:00 +09:00 committed by Suyog Rao
parent 112b28149e
commit 19cbe3ed49

View file

@ -208,11 +208,11 @@ bin/logstash -f first-pipeline.conf
Try a test query to Elasticsearch based on the fields created by the `grok` filter plugin:
[source,shell]
curl -XGET 'localhost:9200/logstash-$DATE/_search?q=response=401'
curl -XGET 'localhost:9200/logstash-$DATE/_search?q=response=200'
Replace $DATE with the current date, in YYYY.MM.DD format.
Since our sample has just one 401 HTTP response, we get one hit back:
Since our sample has just one 200 HTTP response, we get one hit back:
[source,json]
{"took":2,