I followed this page to update the license:
https://www.elastic.co/guide/en/x-pack/current/installing-license.html
I delete the username
and password
in the pipeline config file of logstash, and don't modify anything else.
Here is my pipeline config file:
input {
beats {
port => 5044
codec => "json"
}
}
output {
if [type] == "zixun-nginx-access" {
elasticsearch {
hosts => ["192.168.3.56:9200","192.168.3.49:9200","192.168.3.57:9200"]
index => "zixun-nginx-access-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"
template_overwrite => true
}}
...
}
What is the problem?