opensearch-project / opensearch-project/data-prepper

Potential KeyValueProcessor feature: default_keys

Open
#891 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog enhancement good first issue
Dominant language
Java
Stars
374
Forks
355
Avg merge
3d 18h
Merged PRs (30d)
8

Description

A hash specifying the default keys and their values which should be added to the event in case these keys do not exist in the source field being parsed.

See: https://www.elastic.co/guide/en/logstash/current/plugins-filters-kv.html#plugins-filters-kv-default_keys

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 locating the KeyValueProcessor entry point and reviewing how its source field and key-value configuration are parsed. Compare the requested default_keys behavior with the linked Logstash documentation; done means missing keys receive their configured values without overriding keys already present.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.