v1.2.0
New Layers versions are published
For x86_64 architecture use layer ARN:
arn:aws:lambda:<AWS_REGION>:956882708938:layer:sumologic-extension-amd64:8
For arm64 architecture use layer ARN:
arn:aws:lambda:<AWS_REGION>:956882708938:layer:sumologic-extension-arm64:8
AWS_REGION - Replace with your AWS Lambda Region.
What's New
- This update allows someone to use a KMS encrypted http endpoint by supplying the KMS ciphertext blob and a KMS Key ID (using
KMS_KEY_ID
in lambda's environment variable). This also implements a basic cache function to minimize the number of calls made to the KMS service. A user can set the cache timeout in seconds (by default it's set to 5 seconds users can override the value usingKMS_CACHE_SECONDS
in environment variable) based on the volatility of their endpoint secrets. - Introduced three more environment variables
TELEMETRY_MAX_BYTES
,TELEMETRY_MAX_ITEMS
andTELEMETRY_TIMEOUT_MS
which can be used to reduce the ingestion delay based on log volume.
- Upgraded the golang version to 1.22 which resolved 20+ security vulnerabilities.
- Fixed the bug with
SUMO_ENHANCE_JSON_LOGS
flag #23.
Full Changelog
Commits
- 30abd3d: Add ability to use KMS encrypted endpoint (Nate Henjes) #20
- f55c25e: Upgraded the golang version to 1.22 which resolved 20+ security vulnerabilities and fixed log statements (Himanshu Pal) #24
- 9bd3219: Introduced three more environment variables, users can tweak above parameters to reduce the delay. (Himanshu Pal) #24
- 126255c: Resolved Issue: #23 (Himanshu Pal) #24
- 005f7f8: added tests for json and log parsing with enhancejson flag (Himanshu Pal) #24
- 1e40ab6: removed deprecated ioutil (Himanshu Pal) #24
- bf30b4b: Update CONTRIBUTING.md (Himanshu Pal)