Hello Splunk community,
I’m working with Splunk Enterprise On-Prem and have three Heavy Forwarders (HFs) in my environment. I need to ingest logs from an application hosted on Amazon AWS, but here’s the challenge:
The most efficient approach seems to be automated collection via API calls.
My questions:
What is the best architecture for this scenario?
Are there better alternatives for this use case?
I’ve never had to deal with this type of architecture before, so any guidance, best practices, or examples would be greatly appreciated.
Thanks in advance for your help!
Hi @Nicolas2203
It seems that building a custom application with a Python module input that can collect the data from the API would be the most appropriate approach here.
Check out https://splunk.github.io/addonfactory-ucc-generator/ which is a tool to help build custom apps like this, there is also a sample app which might give some insight on how it works, this is taken from a Conf talk I did on creating a simple API app in 2023. https://github.com/livehybrid/conf23-dev1091b/
This blog post is might also be useful, https://www.splunk.com/en_us/blog/customers/managing-splunk-add-ons-with-ucc-framework.html
Okay. In terms of where to actually deploy the app, ultimately this depends on your architecture. But you will need somewhere that can access the API of the application and then forward the data to your Splunk environment.
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing
Hi @Nicolas2203
It seems that building a custom application with a Python module input that can collect the data from the API would be the most appropriate approach here.
Check out https://splunk.github.io/addonfactory-ucc-generator/ which is a tool to help build custom apps like this, there is also a sample app which might give some insight on how it works, this is taken from a Conf talk I did on creating a simple API app in 2023. https://github.com/livehybrid/conf23-dev1091b/
This blog post is might also be useful, https://www.splunk.com/en_us/blog/customers/managing-splunk-add-ons-with-ucc-framework.html
Okay. In terms of where to actually deploy the app, ultimately this depends on your architecture. But you will need somewhere that can access the API of the application and then forward the data to your Splunk environment.
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing
Hi @livehybrid Thank you so much for your answer and for sharing those resources I really appreciate it.
Regarding where to put the app, I believe hosting it on a HF will be the best approach, and I'll make sure that the HF have an access on the AWS hosted app.
Thanks again for your help
Nicolas