forked from elastic/integrations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
akamai - fingerprint event.original instead of requestId (elastic#12393)
Fix the document _id calculation to allow events with the same requestId to be indexed. The httpMessage.requestId field in Akamai SIEM events is not unique to all events based on observations of the data. It was observed that a given request ID could have multiple records. Among three records with the same requestId, one variant had httpMessage.bytes=0 and another had a different httpMessage.responseHeaders with "Server: Akamai Image Server...". I prefixed the document _id value with the timestamp based on recommendations from the "Efficient Duplicate Prevention for Event-Based Data in Elasticsearch" blog post. References - https://www.elastic.co/blog/efficient-duplicate-prevention-for-event-based-data-in-elasticsearch. - https://github.com/akamai/akamai-apis/blob/b106ff167cb582efdaf4aa185c962ab33d3d6dee/apis/siem/v1/schemas/siem-event-200.yaml#L260-L263
- Loading branch information
1 parent
82bf7ac
commit fb92a6b
Showing
3 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters