I am using below command to load mongodb stats to elastic search using logstatsh.
command => "mongo test_mongo_db_1 --eval 'db.stats()' --quiet"
interval => 7
type => "db.stats"
source => "message"
hosts => ["localhost:9200"]
index => ["mongstats"]
so, this should load only message part right, but its loading everything even the command it's running.
Is it expected?