Last active
July 29, 2016 11:06
-
-
Save adamml/1c4e0ab92fefdb25ac18b05dd7fde3ee to your computer and use it in GitHub Desktop.
Grok patterns for oceanographic instrumentation
This file contains 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
#Spiddal CTD output | |
%{MI_PREFIX}%{SPACE}%{IDRONAUT_OCEAN7_304} | |
#Spiddal Fluorometer | |
%{MI_PREFIX}%{WETLABS_ECO_FLNTU_3137} |
This file contains 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
#Patterns for the prefix added by the MI Spiddal Observatory | |
MI_INST [a-zA-Z0-9._-]+ | |
MI_PREFIX %{TIMESTAMP_ISO8601}\|%{MI_INST}\| |
This file contains 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
#Patterns for instrument outputs | |
IDRONAUT_OCEAN7_304 %{NUMBER:pressure}%{SPACE}%{NUMBER:temperature}%{SPACE}%{NUMBER:conductivity}%{SPACE}%{NUMBER:salinity}%{SPACE}%{NUMBER:sound_velocity}%{SPACE}%{TIME} | |
WETLABS_ECO_FLNTU_3137 %{MONTHNUM}\/%{MONTHDAY}\/%{YEAR}%{SPACE}%{TIME}%{SPACE}%{NUMBER:wavelength_fluorescence}%{SPACE}%{INT:chlorophyll_counts}%{SPACE}%{NUMBER:wavelength_turbidity}%{SPACE}%{INT:turbidity_counts}%{SPACE}%{NUMBER:thermistor} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment