Mulitple pipeline with common output file

Hi all,

I need a help in the following logstash implementation. I am new to logstash.

I am having multiple pipeline configured in pipeline.yml. All the pipelines have to send data to the same output file ( commonfile_data_time_with_seconds.log). 

1. Is this thread safe ? Is there any other way to implement this ?

Thank you 

I would recommend you have a look at the collector pattern.