opensearch-project / opensearch-project/data-prepper
[BUG] all parsed field with pattern COMMONAPACHELOG are string
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 374
- Forks
- 354
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
I follow example from https://github.com/opensearch-project/data-prepper/tree/main/examples/log-ingestion
and all field are parsed as string expected date as number
Expected behavior
date should be parsed as timestamp, and size ans number ...
Screenshots
Environment (please complete the following information):
- OS: [e.g. Ubuntu 22.04 LTS]
- opensearch : 2.11.1
- fleunt-bit : 2.2.1
- prepper: 2.6.1
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 reproducing the issue with the examples/log-ingestion configuration and the COMMONAPACHELOG pattern. Trace how the parsed fields are typed, then verify that date is emitted as a timestamp and size as a number rather than strings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data-engineering, observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100