opensearch-project / opensearch-project/data-prepper
Add CloudFront log convertor before sending to OpenSearch
Open
Nobody has claimed this yet.
question
- Dominant language
- Java
- Stars
- 374
- Forks
- 354
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
Is your feature request related to a problem? Please describe.
It would be nice to have a convertor for CloudFront logs before sending to OpenSearch. If we want to build some Dashboard.
Describe the solution you'd like
- For fields: "sc-content-len", "sc-range-start", "sc-range-end", we need to transfer them to 0 if the raw log is '-'.
- Use parse.unquote_plus to parse "cs-user-agent" field.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the CloudFront log conversion path used before data is sent to OpenSearch. Verify how the fields "sc-content-len", "sc-range-start", "sc-range-end", and "cs-user-agent" are currently handled; done means dash values become 0 and the user-agent is parsed with parse.unquote_plus.
Written by the indexing model from the issue text.
Assessment
- Domain
- data-engineering, observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100