May-04-2020, 09:34 AM
Thank you. I didn't test it yet but it should work.
Another question :)
I don't want to include 'all-services' in the code and maybe there will be more arrays than one, so for example:
Second question:
I want to change the order of header. For example, instead "Message","Priority".. like in json, I want to have "Timestamp","SystemDUnit","Priority","Message".
How can I do it?
Another question :)
I don't want to include 'all-services' in the code and maybe there will be more arrays than one, so for example:
{ "all-services": [ {..}, {..}, {..} ], "other-service" : [ {..}, {..}, {..} ] }How can I iterate all arrays? The name of arrays are not important, because those names will be already in the "SysteDUnit" field.
Second question:
I want to change the order of header. For example, instead "Message","Priority".. like in json, I want to have "Timestamp","SystemDUnit","Priority","Message".
How can I do it?