[AWS Cloudtrail]: TLS Version dissect processor failure not handled #10615
Labels
Integration:aws
AWS
needs:triage
Team:obs-ds-hosted-services
Label for the Observability Hosted Services team [elastic/obs-ds-hosted-services]
Integration Name
AWS [aws]
Integration Version
2.21.0
Agent Version
8.14
Agent Output Type
elasticsearch
Elasticsearch Version
8.14
OS Version and Architecture
UbunTu 20.04 LTS
Software/API Version
No response
Error Message
Processor "dissect" with tag "" in pipeline "logs-aws.cloudtrail-2.21.0" failed with message "Unable to find match for dissect pattern: %{tls.version_protocol}v%{tls.version} against source: tlsVersion"
Event Original
I don't have access to the raw event directly but partially data shows the following:
What did you do?
Logs are collected using the Elastic Serverless Forwarder, no specific configuration whatsoever.
What did you see?
From time to time, logs' processing fails and the
error.message
field is set. Thejson.tlsDetails
fields does not contain data. The raw event seems to contains only this:"Faulty" processor: https://github.com/elastic/integrations/blob/main/packages/aws/data_stream/cloudtrail/elasticsearch/ingest_pipeline/default.yml#L764.
What did you expect to see?
No error in processing the logs, empty fields for
tls.version_protocol
andtls.version
. May be a conditional execution on the processor to avoid running it ifjson.tlsDetails.tlsVersion
equalstlsVersion
.Anything else?
The following processors handling
cipherSuite
andclientProvidedHostHeader
would need the same fix.The text was updated successfully, but these errors were encountered: