Created
September 27, 2016 18:39
-
-
Save portante/7d4817f03c390f156e7b56f2af154c4e to your computer and use it in GitHub Desktop.
GlusterFS grok pattens
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
| GTIMESTAMP %{YEAR}-%{MONTHNUM}-%{MONTHDAY} %{TIME} | |
| GMESSAGEID \[MSGID: %{INT:msgid}\] | |
| GSRCINFO \[%{NOTSPACE:srcfile}:%{INT:linenum}:%{NOTSPACE:funcname}\] | |
| GLOGMSGID \[%{GTIMESTAMP:timestamp}\] %{NOTSPACE:level}%{SPACE}%{GMESSAGEID}%{SPACE}%{GSRCINFO}%{SPACE}%{NOTSPACE:subvol}:%{SPACE}%{GREEDYDATA:message} | |
| GLOGNOMSGID \[%{GTIMESTAMP:timestamp}\] %{NOTSPACE:level} %{GSRCINFO} %{NOTSPACE:subvol}:%{SPACE}%{GREEDYDATA:message} | |
| GLOGREPEAT The message \"%{NOTSPACE:level}%{SPACE}%{GMESSAGEID}%{SPACE}%{GSRCINFO}%{SPACE}%{NOTSPACE:subvol}:%{SPACE}%{GREEDYDATA:message}\" repeated %{INT:repeat_count} times between \[%{GTIMESTAMP:timestamp}\] and \[%{GTIMESTAMP:repeat_end}\] | |
| GLUSTERSTACK \[%{GTIMESTAMP:timestamp}\] %{NOTSPACE:level} %{GSRCINFO} \((?'traceback'-->%{SPACE}?%{PATH}%{SPACE}?\(%{NOTSPACE}\) \[%{NOTSPACE}\](%{SPACE}|%{SPACE}\g'traceback'))%{SPACE}\)%{SPACE}%{GREEDYDATA:message} | |
| GLUSTERASSERT \[%{GTIMESTAMP:timestamp}\] %{NOTSPACE:level} %{GSRCINFO} \(--> %{INT}-%{NOTSPACE:component}?: %{GREEDYDATA:message} | |
| _GLUSTERGRAPHHEADER %{SPACE}?(\+-+\+|Final graph:) | |
| _GLUSTERGRAPH %{SPACE}?%{INT:linenum}: ((volume|type|option|end-volume)?%{GREEDYDATA})? | |
| GLUSTERVOLFILE (%{_GLUSTERGRAPHHEADER}|%{_GLUSTERGRAPH}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment