Hi,
I'm a beginner in filabeat.
the filbeat resend the already sent data again to the same index. (every 10 s)
How can I solve this problem, please?
any suggestions plzzz?
version filebeat: 7.5.2-
myconf is
filebeat.inputs:
- type: log
enabled: true
paths:- C:\Users\BOUR167\Desktop\cra\log\logtest\log1.log
json.keys_under_root: true
json.add_error_key: true
- C:\Users\BOUR167\Desktop\cra\log\logtest\log1.log
output.logstash:
hosts: ["localhost:5044"]
logstahs conf:
input
{
beats{
port => 5044
codec => "json"
}
}
filter
{
mutate {
rename => {"msg" => "message"}
}
date
{
match => [ "timestamp", "dd/MM/yyyy:HH:mm:ss Z" ]
}
}
output
{
elasticsearch
{
hosts => "localhost:9200"
index => "mantisjsonlog"
}
stdout{}
}