Read path from another config file in Logstash configuration file

(Ramya) #1


I have a requirement that ,in input section i have to read file path location from another config file ,so that i can change the file location dynamically from the config file instead of going into logstash config file and changing it every time.

Since i am new to EL i don't have any idea of achieving it , please help me

(Magnus Bäck) #2

Sorry, that's not supported. You'll have to generate your configuration file or pass the input file path via an environment variable.

(Ramya) #3

Ok, Please tell me How can pass input file path via an environment variable

(Magnus Bäck) #4

(Ramya) #5

It helped me,Thank you

(system) #6

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