First,my filebeat configuration was :
- input_type: log
paths:
- /data/logstash/1.txt
document_type: test_ip*
scan_frequency: 5s
It can see data on kibana.
Then i change the filebeat configuration was(i change the index) : - input_type: log
paths:- /data/logstash/1.txt
document_type: test_nginx*
scan_frequency: 5s
After it ,elk is work,but i can't see the "- /data/logstash/1.txt" data in kibana,and I see that elasticsearch does not create new data for "test_nginx *"
Can anyone tell me why?
- /data/logstash/1.txt