Use of * in logstash config file

hi all,

would like to check if the conf below works.

if [type] == "coreservices-*" { ... }

where the types available are

  • coreservices-fs
  • coreservices-xmls

thanks

No, but you can use regular expression matching in conditionals.

https://www.elastic.co/guide/en/logstash/current/event-dependent-configuration.html

thanks so much

got it to work ^^

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