gx0s
(Amine badaoui)
May 1, 2019, 11:09pm
1
Hi,
I am getting this error on logstash
[WARN ] 2019-05-01 23:01:42.484 [[main]>worker1] mongodb - Failed to send event to MongoDB, retrying in 3 seconds {:event=>#LogStash::Event:0x527d46ff , :exception=>java.lang.NullPointerException
output {
mongodb {
codec => "json"
uri => "mongodb://localhost:27017/foo"
database => "foo"
collection => "nop"
generateId => true
}
}
gx0s
(Amine badaoui)
May 2, 2019, 7:41am
2
The problem was on the mutate statemenet,
it didn't work when I tried to remove @timestamp , @version on mutate statement
don't work for
remove_field: ["@timestamp "]
That does not surprise me. Some outputs require @timestamp to exist.
system
(system)
Closed
May 30, 2019, 2:04pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.