Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to provide Channel id parameter in aws lambda blueprint for splunk #72

Open
hakila opened this issue Apr 21, 2020 · 0 comments
Open

Comments

@hakila
Copy link

hakila commented Apr 21, 2020

Currently I am using the “CloudWatch Logs to Splunk” (splunk-cloudwatch-logs-processor) Lambda blueprint from AWS console. Below is the code for for splunk logging in lambda
const loggerConfig = {
url: process.env.SPLUNK_HEC_URL,
token: process.env.SPLUNK_HEC_TOKEN,
};

const SplunkLogger = require('./lib/mysplunklogger');
const zlib = require('zlib');

const logger = new SplunkLogger(loggerConfig);
I am getting error data channel is missing.
1)How do i configure data channel in lambda? What other changes have to be made on splunk side and aws lambda side to have successful communication between lambda and aws.
2)What are the disadvantages of disabling data channel on splunk side? Communication is going through after disabling. But I want to know the best practice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant