Andrea Selva
Andrea Selva
This functionality could be implemented updating the `org.logstash.StringInterpolation.evaluate` static method to take count of a new special placeholder. `logstash-output-file` `path` parameter is already interpolated using `Event.sprintf`https://github.com/logstash-plugins/logstash-output-file/blob/70f77b9fb89c7c4628647c4b3902a4bc4088d62e/lib/logstash/outputs/file.rb#L176. The interpolation logic at...
The only concerns I have is that then we create 2 sources of log files (log4j2 and JUL), driving to a sort of disconnected log file. For disconnectedI mean that...
Shaped the rough idea in #16543 but still `coerce` method is harder to avoid https://github.com/elastic/logstash/blob/6064587bc48d2e542cf7be7022f4e7cbcd661afa/logstash-core/src/main/java/org/logstash/settings/Coercible.java#L31
Hi @0xShubhamSolanki thanks a lot to chime in! If you would you can provide a new PR with the solution you are proposing, so that we can think about it,...
Thank's @m-oben I noted it, I'll re-check and eventually come back to you
Thank's @hylkevds I'll review it