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