Hi,
I still new to ELK and I have been trying to process data that come to me as json file. The json file looks lie this.
[
{
"user": "Beta",
"percent": 28,
"startTime": "2022-07-07T11:31:45",
"type": "CPU",
"total": 1072987793,
"Location": "locationB",
"desk": "MAC"
},
{
"user": "Alpha",
"percent": 86,
"startTime": "2022-07-07T11:31:45",
"type": "CPU",
"total": 1072987733,
"Location": "locationA",
"desk": "LIN"
},
{
"user": "Charlie",
"percent": 03,
"startTime": "2022-07-07T11:31:45",
"type": "CPU",
"total": 1072987724,
"Location": "locationA",
"desk": "LIN"
},
{
"user": "test",
"percent": 15,
"startTime": "2022-07-07T11:31:45",
"type": "CPU",
"total": 1072987778,
"Location": "locationB",
"desk": "MAC"
},
{
"user": "Delta",
"percent": 28,
"startTime": "2022-07-07T11:31:45",
"type": "CPU",
"total": 1072987793,
"Location": "location1",
"desk": "MAC"
},
{
"user": "Juliana",
"percent": 28,
"startTime": "2022-07-07T11:31:45",
"type": "CPU",
"total": 1072987793,
"Location": "location1",
"desk": "MAC"
}
]
Each object inside of that array has to be index. Is there a way to do that? How can I separate or process each object separate?