opensearch-project / opensearch-project/data-prepper

[BUG] all parsed field with pattern COMMONAPACHELOG are string

Open
#3,918 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
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

image

image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.