I'm trying to visualize some numerical data with chart but I'm not getting any results. No errors or anything but no plots either. the target event looks something like: Log":[{"pressure":[0,45,976,1710,2412,3168,4207,..]},{"speed":[0,2432,3695,3611,3539,3435,3518,..]}, ... Where the equal length vectors are what I want to visualize, either as parallel lines or as a scatterplot against each other or whatever. Using the code below, I've managed to extract the numbers using regular expressions and split them at the comma. Inspecting the result in the statistics tab, the values appear neatly next to eachother in what I consider to look like x- and y-vectors: | rex "pressure\":\[(?P<pressure>[^]]{1,})"
| makemv delim="," pressure
| rex "speed\":\[(?P<speed>[^]]{1,})"
| makemv delim="," speed
| chart list(pressure), list(speed) (I tried using values instead of list first, but there were some identical numbers in one of the vectors which resluted in them being of different length) In my world, I should be able to just plot these against eachother since they are the same length, but I can't find a way of doing it. Changing the last line to this: "| chart list(OPVPresVec) by OPVPumpSpeedVec", the entire pressure vector is mapped to every element of the speed vector, which ofcourse is nonsense. I've tried using mvexpand after the delims but I get a similar result, with one entire vector being mapped to every element of the other. I am at a loss and have no idea what I'm doing. Does anybody know how to solve this? Thanks in advance.
... View more