Logstash Organize Conf folder


(Andrew) #1

Hello everyone,

I was wondering if/how to setup /etc/logstash/conf.d to be more organize. For instance if I have multiple configuration files and want to organize them by subdirectory how do I do that? Is that even possible for logstash to read configuration files from subdirectories?


(Paris Mermigkas) #2

Hi,

You can have multiple subdirectories in your config folder by using the following config path

-f <top_level_config_dir>/**/*

(Andrew) #3

Awesome! Thank you!


(system) #4

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