Getting Data In

How to use Lambda to push logs to Splunk Cloud

richah
Explorer

I'm trying to onboard data from AWS to Splunk Cloud and planning to use Lambda But we have numerous options within Lambda. I'm confused to use Lambda blueprint to do custom one.
Lambda blueprint doesn't scale well for large number of log groups? But what if I use one lambda per account?
And there is also S3 with lambda. And there is one more method to use AWS SAM.
I'm confused which one to choose(I dont want to use kinesis). How do I choose and on what basis can I choose an option?
And I want to automate subscribing and want sourcetype per service

0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @richah 

Is there any specific reason you dont want to use Firehose? If you are worried about the scalability then Firehose would be the best approach, in my opinion.

If you want to stick to Lambda only then you could look at https://www.splunk.com/en_us/blog/platform/stream-amazon-cloudwatch-logs-to-splunk-using-aws-lambda.... which just uses a Lambda with a Subscription Filter. 

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...