How to have LS_CONF_DIR to have regular express


#1

hi, I Have 2 different logstash conf file need to be loaded together in one logstash startup file.

1st conf is located in /etc/logstash/automation/active/conf.d/indexer_test.conf
another is located in /etc/logstash/automation/ouput/indexer_test_F10N.conf

LS_CONF_DIR="/etc/logstash/automation/{active,output}/{conf.d}/{${name}.conf,${name}_${SITE}.conf}"

but seems doesnt work. how can I change it?

Thanks a lot!


#2

can anybody help?


(Magnus B├Ąck) #3

That's not a regular expression. Anyway, I'm pretty sure LS_CONF_DIR needs to point to exactly one directory. If you can't put your files in a single directory, perhaps you can use symlinks?


(system) #4

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