Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion splunk-cloudwatch-logs-processor/lambda.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"lambda": {
"FunctionName": "splunk-cloudwatch-logs-processor",
"Handler": "index.handler",
"Runtime": "nodejs10.x",
"Runtime": "nodejs18.x",
"Description": "Stream events from AWS CloudWatch Logs to Splunk's HTTP event collector",
"Environment": {
"Variables": {
Expand Down
19 changes: 10 additions & 9 deletions splunk-cloudwatch-logs-processor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "AWS Lambda function blueprint to stream events from AWS CloudWatch Logs to Splunk's HTTP event collector",
"main": "index.js",
"scripts": {
"lint": "eslint -c ../.eslintrc --ignore-path ../.eslintignore .",
"lint": "eslint -c ../.eslintrc --ignore-pattern ../.eslintignore .",
"test": "node integration-test.js",
"pretest": "npm run lint",
"build:zip": "zip -i \\*.js \\*.json -r splunk-cloudwatch-logs-processor.zip index.js $(npm list --prod --parseable | sed -nE 's/.*\\/(node_modules\\/.*)/\\1/p' | awk '{printf \"%s \", $0;}')",
Expand All @@ -30,15 +30,16 @@
],
"license": "MIT",
"dependencies": {
"splunk-logging": "^0.9.3"
"splunk-logging": "^0.11.1"
},
"devDependencies": {
"babel-eslint": "^7.1.0",
"eslint": "^3.12.0",
"eslint-config-airbnb": "^13.0.0",
"eslint-plugin-babel": "^4.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.7.1"
"@babel/core": "^7.25.8",
"@babel/eslint-parser": "^7.25.8",
"eslint": "^9.13.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.1",
"eslint-plugin-react": "^7.37.1"
}
}
2 changes: 1 addition & 1 deletion splunk-cloudwatch-logs-processor/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
Handler: index.handler
Runtime: nodejs10.x
Runtime: nodejs18.x
CodeUri: ./splunk-cloudwatch-logs-processor.zip
Description: Stream events from AWS CloudWatch Logs to Splunk HTTP event collector
MemorySize: 512
Expand Down
2 changes: 1 addition & 1 deletion splunk-elb-application-access-logs-processor/lambda.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"lambda": {
"FunctionName": "splunk-elb-application-access-logs-processor",
"Handler": "index.handler",
"Runtime": "nodejs10.x",
"Runtime": "nodejs18.x",
"Description": "Stream Application ELB access logs from S3 to Splunk's HTTP event collector",
"Environment": {
"Variables": {
Expand Down
12 changes: 6 additions & 6 deletions splunk-elb-application-access-logs-processor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@
],
"license": "MIT",
"dependencies": {
"splunk-logging": "^0.9.3"
"splunk-logging": "^0.11.1"
},
"devDependencies": {
"aws-sdk": "^2.89.0",
"babel-eslint": "^7.1.0",
"eslint": "^3.12.0",
"eslint-config-airbnb": "^13.0.0",
"babel-eslint": "^10.1.0",
"eslint": "^9.10.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-babel": "^4.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.7.1"
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-react": "^7.36.1"
}
}
2 changes: 1 addition & 1 deletion splunk-elb-application-access-logs-processor/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Resources:
Properties:
Description: Stream ALB events from S3 to Splunk HTTP event collector
Handler: index.handler
Runtime: nodejs10.x
Runtime: nodejs18.x
CodeUri: ./splunk-elb-application-access-logs-processor.zip
Policies:
- S3CrudPolicy:
Expand Down