Created
November 30, 2021 11:13
-
-
Save CrispyBaguette/63c903b91c092a220202ab424b9f6b05 to your computer and use it in GitHub Desktop.
Regex for rudimentary parsing of InfluxDB line protocol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /^(?<measurement>\w+),(?<tags>(?:\w+=\w+,?)+)+\s(?<fields>(?:\w+=(?:"\w+"|\w+),?)+)\s(?<ts>[0-9]+)$/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment