Updates not flowing from MongoDB to ES using Logstash

Hello Everyone,

Any updates in MongoDB are not flowing to ElasticSearch using Logstash. I am using latest versions of all the applications.
Following is the logstash config file for reference. Any help is much appreciated.

input {
mongodb {
uri => 'mongodb://localhost:27017/test'
placeholder_db_dir => '/Users/gagandeepsingh/Documents/logstashtemp/logstash'
placeholder_db_name => 'OMS_sqlite.db'
collection => 'order'
parse_method => 'simple'
}
}

filter {
mutate {
remove_field => [ '_id' ]
}
}

output {
elasticsearch {
hosts => ['http://localhost:9202']
index => 'order'
}
}

1 Like

Any response is much appreciated.

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