FileBeat Sends the same file content again and again to logstash

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

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{}
}

Hi!

Could you please format your configuration with triple ` please?

it's ok for you ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.