when i index a single file in logstash, as multiple threads are running , the indices pushed to elastic search in also multiple. instead can i control the order of indexing in logstash.
For example. i have the below logfiles.
is there any logstash configuration to have the thread execute one logfile at a time. multiple threads are fine, but my requirement is to index one file /thread (not multiple threads on a single file)
abc.log - thread 1
abc1.log - thread 2
abc2.log - thread 1
abc3.log - thread 2 .. like this