Hello everyone,
I have a question about the flux language and how to seperate array data.
For a task I’m creaing a flux script that needs to split a 2 dimentional array. This array is a string in the _value column. For now I have not figured out how I can seperate this string into a list of seperate values.
For the input I have:
For the output I have put it in excel to show how I would like to split it (seperate records per _value, epochtime, and warningText and setting them as field is also fine but im capable of splitting it when I can receive proper records):
The problem is that I can have multiple start records in a table and need to first map() then, strings.split() and strings.split() it again but i’m struggling with returning proper values. Is there any better way of splitting this? Or does anyone know a solution in the way im trying now?