Graylog2 / Graylog2/graylog2-server

Allow returning arrays when using Input 'JSON path value from HTTP API'

Open
#14,855 1 comment 0 reactions 0 assignees View on GitHub
feature triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## What?

Currently the Input 'JSON path value from HTTP API' is only designed and is capable of returning a single value from the specified json path.

See https://github.com/Graylog2/graylog2-server/issues/13344

It would be useful to have the ability to return arrays (objects) from the JSON path result in the format of valid json. While json path does return the specified values, the json is invalid and cannot be used with any Graylog Pipeline json functions. Most every API that returns JSON will return objects.

## Why?

Currently the JSON HTTP API Input is limited in use and functionality because it either can only return a single value, or return invalid json when attempting to return multi values.

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.