bpaquet / node-logstash

Simple logstash implmentation in nodejs : file log collection, sent with zeromq
Other
517 stars 141 forks source link

Support wildcards in path for input plugin(File) #94

Closed iemem15 closed 9 years ago

iemem15 commented 9 years ago

Is there a Way to support wildcards in paths i.e. /opt/weblogic/Domains/ELKdomain/servers/Managed*/logs/Managed_?.log

It's important because the client has like 500 servers, and the domains and server names are differents. /opt/weblogic/Domains/ELK_domain/servers/Managed_1/logs/Managed_1.log /opt/weblogic/Domains/ELK_domain/servers/Managed_2/logs/Managed_2.log /opt/weblogic/Domains//servers/SVR_ABC_1/logs/SVR_ABC_1.log

Thanks in advance.

bpaquet commented 9 years ago

No solution now, but I want to implement it soon.

Le vendredi 6 mars 2015, iemem15 notifications@github.com a écrit :

Is there a Way to support wildcards in paths i.e. /opt/weblogic/Domains/ELKdomain/servers/Managed*/logs/Managed_?.log

It's important because the client has like 500 servers, and the domains and server names are differents. /opt/weblogic/Domains/ELK_domain/servers/Managed_1/logs/Managed_1.log /opt/weblogic/Domains/ELK_domain/servers/Managed_2/logs/Managed_2.log /opt/weblogic/Domains//servers/SVR_ABC_1/logs/SVR_ABC_1.log

Thanks in advance.

— Reply to this email directly or view it on GitHub https://github.com/bpaquet/node-logstash/issues/94.

iemem15 commented 9 years ago

Thanks. In the meantime I will put all the paths.

bpaquet commented 9 years ago

Feedbacks are welcome :)

iemem15 commented 9 years ago

Thanks I will test it