How to have LS_CONF_DIR to have regular express

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!

can anybody help?

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?

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