A Python script to get the power usage from the Solaredge API and send it to Splunk
- Make sure the handler equals:
.main
You will need to add the following environment variables to your AWS Lambda function
solaredgeurl solaredgesite solaredgeapikey splunkurl splunkapi
- Create a "HTTP event collector"
- Change source type to "json_no_timestamp"
Use the token created as the "splunkapi" value