Created
December 2, 2020 07:38
-
-
Save orjan/971da262e2125fed09b4bf51d906f1f1 to your computer and use it in GitHub Desktop.
Filebeat processor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filebeat.inputs: | |
- type: log | |
paths: | |
- /Users/orjan/Code/sandbox/filebeat/*.log | |
processors: | |
- if: | |
contains: | |
message: "customer" | |
then: | |
- add_fields: | |
fields: | |
team: jump-customer | |
else: | |
- add_fields: | |
fields: | |
team: jump-cpc | |
output.console: | |
pretty: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment