Created
January 27, 2015 04:44
-
-
Save kiyoto/8e8b737dac39ccbf0f1e to your computer and use it in GitHub Desktop.
EFK for Apache
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
<source> | |
type tail | |
tag apache.access | |
format apache2 | |
path /path/to/your/log | |
read_from_head true #過去ログ用。ファイルの先頭から読む | |
</source> | |
<match apache.access> | |
type elasticsearch | |
logstash_format true | |
host localhost | |
port 9200 | |
</match |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment