Closed zavyrylin closed 3 years ago
@jordansissel is this something you consider a good idea? Should @zavyrylin write specs for his code?
Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then say 'jenkins, test it'.
It would be great to add a capability to get some fields matched a given pattern from event object and put them into data points. It is useful in the cases when your logs may contain some metrics, but their structure is dynamic/not known so it cannot be defined strictly inside the config of the logstash instance. The pull request adds some "dynamicity" to output configuration. This can be done by the new configuration options given in the next example: