elastic / elastic/logstash

Event API: Add FieldReference builder API

Open
#8,307 3 comments 0 reactions 0 assignees View on GitHub
v6.1.0
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

Field references are currently mostly Strings around the codebase, but it may be easier for plugin authors to have a kind of builder API to build a field reference instead of having to concatenate strings.

Proposal:

```
class FieldReference {
static FieldReference paths(String paths ...);

FieldReference with(String path); // returns *new* FieldReference appending the `path`
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.