How to input arguments via command line to conf?

example

i have one conf file

input{
'stdin'=>$sss
}

i want to input $sss via command line

example

logstash -f a.conf "value replace to $sss"

can possible in logstash conf ?

1 Like

If you are a Bourne shell user then you could do this using environment variables. I would expect that to work for bash or Korn shell users as well, but not csh.

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