I am using this config file to import data from couchdb.
input {
couchdb_changes {
db => "roles"
host => "localhost"
port => 5984
}
}
output {
elasticsearch {
document_id => "%{[@metadata][_id]}"
document_type => "%{[@metadata][type]}"
host => "localhost"
index => "roles_index"
protocol => "http"
host => localhost
port => 9200
}
}
I was able to run logstash with this config file and import data once. I closed command prompt to shutdown logstash and reran cmd prompt and stash with the config file again. but now I cannot see any index created. Is there anything that I might be doing wrong here. I am using ctl+c to kill logstash in cmd prompt. Will appreciate any help.
Thanks.
I am using this config file to import data from couchdb. input { couchdb_changes { db => "roles" host => "localhost" port => 5984 } } output { elasticsearch { document_id => "%{[@metadata][_id]}" document_type => "%{[@metadata][type]}" host => "localhost" index => "roles_index" protocol => "http" host => localhost port => 9200
} }
I was able to run logstash with this config file and import data once. I closed command prompt to shutdown logstash and reran cmd prompt and stash with the config file again. but now I cannot see any index created. Is there anything that I might be doing wrong here. I am using ctl+c to kill logstash in cmd prompt. Will appreciate any help. Thanks.