Logstash use environment variable in yml or pipeline conf

I have tried to use environment variable in yml and conf file for some reason the variable did not get resolve when i was runnig the pipeline as services. It complained that the variable was not declared. I tried to put the variable in the mypipeline.service but it also did not work. Any help would be apprieciated.

i am using:

/bin/systemctl start mypipeline.service

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