Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
out_es: Allow Logstash_Prefix_Key with prefix
The option Logstash_Prefix_Key should be a record accessor. There is a convenience feature that automatically prefixes a $ when the value is just a static string (since that is expected to be set as Logstash_Prefix instead). However, record accessor can contain the $ not just at the beginning. One example would be containers-$kubernetes['namespace_name'] This patch thus makes the autodetection look for a $ in the whole value, not just the first character. Signed-off-by: Jan-Philipp Litza <[email protected]>
- Loading branch information