Skip to content

Support Nested Hashes in HTTP output mapping #4

@jordansissel

Description

@jordansissel

(This issue was originally filed by @GABeech at elastic/logstash#1323)


I would like the ability to have nested hashes when using the mapping function of the HTTP output.

given:
mapping => [ "metric", "test", "tags", [ "name", "Help", "type", "Please"]

The current json output would be:

{
   "metric": "test",
   "tags": "["name","Help","type","Please"]"
}

What I would expect would be:

{
  "Metric": "test",
  "tags": {
    "name": "Help",
    "type": "Please"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions