working logstash indexer