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
'use strict'; | |
var util = require('util'), | |
winston = require('winston'), | |
WinstonCloudWatch = require('winston-cloudwatch'); | |
winston.add(new WinstonCloudWatch({ | |
logGroupName: 'YOUR_GROUP_NAME', | |
logStreamName: 'YOUR_APP_NAME', |
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
CREATE EXTERNAL TABLE IF NOT EXISTS {{DATABASE_NAME.TABLE_NAME}} ( | |
type string, | |
time string, | |
elb string, | |
client_ip string, | |
client_port string, | |
target string, | |
request_processing_time int, | |
target_processing_time int, | |
response_processing_time int, |