magnusbaeck / logstash-filter-verifier

Apache License 2.0
191 stars 27 forks source link

`--logstash-arg` flag is only available in standalone mode #184

Open sarkortrantor opened 2 years ago

sarkortrantor commented 2 years ago

I'm facing an issue, since logstash 8, the ecs_compatibility setting is enabled by default, hence all my current tests are "broken": image

I tried to set pipeline.ecs_compatibility to disabled at the pipeline level but it seems to have no effect (maybe ok according to https://discuss.elastic.co/t/logstash-8-0-is-adding-extra-field/297594) hence I'd like to set the setting globally however I'm not sure how to pass custom args to logstash when running LFV2 in daemon mode.

Do you maybe have an advice ?

BaptistePiron commented 1 year ago

I'm facing the same issue. Any update on this?

Currently, 'pipeline.ecs_compatibility' must be disabeld at the plugin level. It does not take into account the setting if set at the pipeline or instance level. Quite annoying when running hundreds of configuration files...

hexinal commented 1 year ago

Adjacent issue, but yeah, can't use the argument in daemon mode either.