Hello,
I am trying to load the following from a json file, and I had a couple of questions..
[
{
"_index": "index-001",
"_type": "xxx",
"_id": "m2p2A3EBY37dRdt4jKyq",
"_score": 1.0,
"_source": {
"tags": [
"tag 1",
"tag 2",
"tag 3"
],
"eventtime": "1584817236",
"@timestamp": "2020-03-22T17:06:28.220Z"
}
},
{
"_index": "index-002",
"_type": "xxx",
"_id": "m2p2A3EBY37dRdt4jKyz",
"_score": 1.0,
"_source": {
"tags": [
"tag 1",
"tag 2",
"tag 3"
],
"eventtime": "1584817200",
"@timestamp": "2020-03-22T17:06:28.220Z"
}
}
]
I only need the data in _source, with each item between "" as a field.
Do I need a multiline codec for this? And do I need to do something specific for the "tags" array?
Thanks