logstash配置如何理解?
-
elasticsearch {
-
action => "index" #The operation on ES
-
hosts => "localhost:9200" #ElasticSearch host, can be array.
-
index => "applog" #The index to write data to.
-
}在logstash中需要配置的elasticsearch其中action配置和index配置具体是什么意思?后面的解释也不懂,哪位知道,请用大白话解释一下呗