How to set path.data and pidfile per conf file in Logstash Service

I am running logstash as a service using systemctl.
Running logstash with systemctl runs the conf files in conf.d directory.

First, How do I set path.data for each conf file in conf.d directory?

Second, how to set pid file separately for each conf file?
Do I have to run it separately for each conf?
If you need to run it separately, do you have to register the service for each conf to run it as a service?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.