Created
September 27, 2018 20:50
-
-
Save fndiaz/0da7aaf8b77c412ca21df5f49392c766 to your computer and use it in GitHub Desktop.
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
{ | |
"cloudwatch.endpoint":"monitoring.us-east-1.amazonaws.com", | |
"cloudwatch.emitMetrics":true, | |
"firehose.endpoint":"firehose.us-east-1.amazonaws.com", | |
"flows":[ | |
{ | |
"filePattern":"/var/log/nginx/access.log", | |
"deliveryStream":"NAME_STREAM", | |
"dataProcessingOptions":[ | |
{ | |
"initialPostion":"START_OF_FILE", | |
"maxBufferAgeMillis":"2000", | |
"optionName":"LOGTOJSON", | |
"logFormat":"COMBINEDAPACHELOG", | |
"matchPattern":"CUSTOM-REGEX", | |
"customFieldNames": ["NAME-FIELD-1", "NAME-FIELD-2"] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment