Last active
December 23, 2016 11:23
-
-
Save megastef/7bce74be865a7d6bdba015aebe6fa1a2 to your computer and use it in GitHub Desktop.
lambda-multiline-test
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
originalLine: true | |
geoIP: true | |
maxmindDbDir: /tmp/ | |
json: | |
enabled: false | |
patterns: | |
- # multi line test | |
sourceName: /.*/i | |
blockStart: !!js/regexp /^\d{4}-\d{2}-\d{2}\s/ | |
match: | |
- type: any | |
regex: !!js/regexp /^(\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d) - \[(.*?)\] - from (.+?) -\s([\s|\S]+)/ | |
fields: [date,level,from,text] | |
- # AWS VPC: 2 043046862656 eni-ea966ad5 222.186.30.148 10.0.0.6 6000 3306 6 1 40 1457526416 1457526433 REJECT OK | |
sourceName: !!js/regexp /.*/ | |
blockStart: !!js/regexp /^\S/ | |
match: | |
- type: lambda | |
regex: !!js/regexp ([\s|\S]+) | |
fields: [message:string] |
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
{"awslogs":{"data":{"type":"Buffer","data":[31,139,8,0,0,0,0,0,0,3,237,82,93,111,218,48,20,253,43,158,197,3,149,136,137,77,10,196,15,211,208,154,85,72,219,90,1,111,33,170,46,193,208,116,142,29,217,14,43,170,186,223,62,39,43,106,167,125,72,147,214,183,188,56,247,195,62,231,228,222,243,128,75,97,45,236,197,234,88,9,204,241,197,108,53,187,249,148,44,151,179,203,4,15,176,254,170,132,241,101,202,70,209,249,120,50,141,125,224,203,82,239,47,141,174,43,223,113,194,186,143,167,180,237,44,157,17,80,62,183,158,242,1,182,245,198,230,166,168,92,161,213,135,66,58,97,44,230,105,123,237,71,138,179,22,32,57,8,229,154,214,3,46,182,30,71,52,249,124,75,61,132,43,188,92,7,101,85,216,91,204,105,20,133,81,196,226,233,36,12,195,193,233,79,252,11,22,210,113,64,89,16,78,17,13,121,24,115,58,70,1,74,147,197,226,106,145,249,104,103,116,137,160,170,100,145,67,163,6,5,107,245,6,189,155,48,248,82,68,209,40,246,87,230,202,11,82,32,145,21,230,32,12,18,198,104,51,64,59,109,80,255,250,106,185,58,67,233,208,120,45,195,3,29,22,78,148,30,246,109,37,225,72,160,42,200,236,25,186,215,3,229,79,202,81,114,47,242,186,101,19,247,185,104,167,144,166,159,107,41,175,117,209,144,37,167,42,71,202,87,179,108,237,214,14,28,250,45,106,46,193,90,114,11,106,43,69,210,72,235,191,232,18,155,131,4,206,226,241,25,250,150,230,186,36,206,111,215,194,78,144,22,172,57,110,24,161,52,96,100,68,166,228,14,12,111,163,95,40,47,196,14,106,233,94,98,255,157,51,10,153,159,204,191,80,190,135,218,138,45,218,28,57,186,131,3,16,9,106,79,254,60,150,39,133,185,86,206,104,41,189,135,200,194,175,97,238,87,208,99,164,217,233,177,127,42,144,6,144,159,79,38,205,24,54,18,2,74,194,150,217,127,51,252,56,248,217,95,172,243,87,231,175,87,244,215,168,243,87,231,175,87,244,87,212,249,171,243,215,255,244,87,246,248,29,64,19,134,125,30,10,0,0]}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment