Created
January 23, 2018 15:25
-
-
Save ehynds/0b5952673818754a509da0134dc774b0 to your computer and use it in GitHub Desktop.
sumologic.json
This file contains 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
{ | |
"api.version": "v1", | |
"sources": [{ | |
"sourceType" : "LocalFile", | |
"name": "web", | |
"category": "map-public", | |
"pathExpression": "/var/log/web/*.log", | |
"timeZone": "America/New_York", | |
"filters": [{ | |
"name": "mask_email", | |
"filterType": "Mask", | |
"regexp": "email=(.+?)(?=[&\"\s])", | |
"mask": "EMAIL_REDACTED" | |
}, { | |
"name": "mask_ip", | |
"filterType": "Mask", | |
"regexp": "((?:[0-9]{1,3}\\.){3}[0-9]{1,3})", | |
"mask": "IP_REDACTED" | |
}] | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment