Last active
August 11, 2017 10:43
-
-
Save milianoo/1ecb0ffcb2758ae1f8b5236c7cab76ef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install Elastic Search | |
2. Run Elastic Search (test) | |
GET http://localhost:9200/?pretty | |
3. Install Logstash | |
4. Run Logstash (test) | |
$ logstash -e 'input { stdin { } } output { stdout {} }' | |
$ type "hello world" | |
to run the logstash to receive logs through http endpoint | |
> logstash -e 'input { http { host => "localhost" port => 31311 } } output { elasticsearch { hosts => ["http://localhost:9200/"] } }' | |
GET http://localhost:9200/_search?pretty | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This document will be updated.