Skip to content
Open
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
3 changes: 1 addition & 2 deletions splunk-logging/lambda.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"lambda": {
"FunctionName": "splunk-logging",
"Handler": "index.handler",
"Runtime": "nodejs10.x",
"Runtime": "nodejs22.x",
"Description": "Demonstrates logging from AWS Lambda code to Splunk's HTTP event collector",
"Environment": {
"Variables": {
Expand All @@ -27,4 +27,3 @@
"roleTemplates": [
]
}

2 changes: 1 addition & 1 deletion splunk-logging/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "splunk-logging",
"version": "1.0.0",
"version": "1.0.1",
"description": "AWS Lambda function blueprint to demonstrate logging from AWS Lambda code to Splunk's HTTP event collector",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 1 addition & 3 deletions splunk-logging/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
Handler: index.handler
Runtime: nodejs10.x
Runtime: nodejs22.x
CodeUri: ./splunk-logging.zip
Description: Demonstrates logging from AWS Lambda code to Splunk HTTP event collector
MemorySize: 512
Expand All @@ -38,5 +38,3 @@ Resources:
Variables:
SPLUNK_HEC_URL: !Ref SplunkHttpEventCollectorURL
SPLUNK_HEC_TOKEN: !Ref SplunkHttpEventCollectorToken