# FileBeat HTTPJSON input split.type of list?

**URL:** <https://discuss.elastic.co/t/filebeat-httpjson-input-split-type-of-list/273965>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 25, 2021, 3:18pm UTC](https://discuss.elastic.co/t/filebeat-httpjson-input-split-type-of-list/273965 "2021-05-25T15:18:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhilipWhiteside](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@PhilipWhiteside](https://discuss.elastic.co/u/PhilipWhiteside)\
**Post date:** [May 25, 2021, 3:18pm UTC](https://discuss.elastic.co/t/filebeat-httpjson-input-split-type-of-list/273965/1 "2021-05-25T15:18:44Z")

</div>

Hello, I'm struggling to perform a subsplit with a type of `list`. It appears only `array`, `map`, and `string` is supported. Am I not understanding something? Or is there a way to make this work?

**config**

```auto
  response:
    split:
      target: body.entries
      type: array
      split:
        target: body.entries.nodeNames
        type: list # I want to use list here as the data is a list. However, this is not a valid option
        keep_parent: true

```

**input data**

```auto
{
  "totalItemsCount": 2,
  "totalResultsCount": 2,
  "offset": 0,
  "entries": [
    {
      "category": "PSIRT",
      "title": "Descriptive title for this PSIRT category",
      "nodeNames": [
        "node-AA",
        "node-BB"
      ]
    },
    {
      "category": "HWEOL",
      "title": "Descriptive title for this HWEOL category",
      "nodeNames": [
        "node-01"
      ]
    }
  ]
}

```

**output desired**

```auto
{
  "category": "PSIRT",
  "title": "Descriptive title for this PSIRT category",
  "nodeNames": "node-AA"
},
{
  "category": "PSIRT",
  "title": "Descriptive title for this PSIRT category",
  "nodeNames": "node-BB"
},
{
  "category": "HWEOL",
  "title": "Descriptive title for this HWEOL category",
  "nodeNames": "node-01"
}

```

However, I cannot set the sub split type to list, so what I can getting is this

**actual output**

```auto
{
  "category": "PSIRT",
  "title": "Descriptive title for this PSIRT category",
  "nodeNames": [
    "node-AA",
    "node-BB"
  ]
},
{
  "category": "HWEOL",
  "title": "Descriptive title for this HWEOL category",
  "nodeNames": [
    "node-01"
  ]
}

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 22, 2021, 5:19pm UTC](https://discuss.elastic.co/t/filebeat-httpjson-input-split-type-of-list/273965/2 "2021-06-22T17:19:08Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
