-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mutate examples to example pillar file #27
Comments
attempting to mutate as well and this is not working, using the gsub filter of the mutate plugin through pillar. here is the current config in pillar
this is the output
the output should look like this
if I do this
the output looks like this
|
Ok I got this one figured out, hope this works for others as well pillar
output
notice there needs to be a secondary escape character before the desired escape character in the pillar. Without this it will throw an error and your pillar will not populate for that section I will get this added into the pillar example. |
added PR #31 to address this issue |
It's hard (for me at least) to see how I would go about mutating a field using the pillar field.
Examples of field mutation in the output json are shown here in the Logstash Config examples: https://www.elastic.co/guide/en/logstash/current/config-examples.html
Would it be possible for you to add a very basic usage example to the example pillar file in this repo for reference?
The text was updated successfully, but these errors were encountered: