Replies: 3 comments
-
Nope. This is not supported. Unknown/variable number of spaces delimitation is hard to support. |
Beta Was this translation helpful? Give feedback.
-
Can you point me in a direction to figure out how to parse this kind of data, in that case? Do I have to pull it in to one table, and then use that visualization as a source for a second calculation? |
Beta Was this translation helpful? Give feedback.
-
For anyone else having this issue, right now I'm solving it by using a crontab python script to parse the file with pandas every 5 min, then accessing the resulting CSV from my own server. If there's a way to due this entirely within Grafana / Grafana Cloud, though, that would be preferable. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to parse data from NOAA buoys that is reported like this (I don't have control over the data source):
The problem is that each value has a variable number of spaces between them, so I can't use
as a delimiting character -- each line is interpreted as having a variable number of columns, and I get a "wrong number of columns" error. Is there any way to set the delimiting character to multiple spaces, like regex
\s+
, or to transform the data into comma-separated values prior to parsing? I can use value mapping in table visualization, but that doesn't allow me to actually split the columns or parse the data for calculations.Beta Was this translation helpful? Give feedback.
All reactions