Just a follow up on this one… but slightly different question, @sinisa_zubic as you are clearly a wizard in this area…
Solved: simple csv event log parse - Dynatrace Community
So IF i have some lines in my log with multiple entries, but not all… for example
2024-01-11T13:23:02.578Z,192.168.0.100,Server1,Tree,Green,Warning
2024-01-11T13:24:06.345Z,192.168.0.103,Server2,Bush,DarkGreen,Alert
2024-01-11T13:27:04.543Z,192.168.0.103,Server2,Road,“Grey,Yellow,White”,Alert
2024-01-11T13:28:03.345Z,192.168.0.178,Server5,Path,Black,Bannana
how would I get the this to parse, as the 3rd line has multiple entries in the 5th field, comma separated, but encapsulated in “”. the way you showed me wont work as the Colour field is also csv, but in quotes?
JSONTIMESTAMP*:timestamp_parsed ‘,’
IPV4ADDR*:clientip ‘,’
LD*:clienthostname ‘,’
LD*:object ‘,’
(Array{LD*:i (‘"’ | >>‘,’)}{1,}:Colour)? ‘",’
LD*:status
any guidance would be appreciated
