Skip to content

Instantly share code, notes, and snippets.

@churnd
Created March 31, 2014 12:47
Show Gist options
  • Save churnd/9891542 to your computer and use it in GitHub Desktop.
Save churnd/9891542 to your computer and use it in GitHub Desktop.
grok debug
{
"SYSLOGLINE": [
[
"Mar 28 14:14:01 host rgmanager[8180]: [script] Executing /etc/init.d/clvmd status"
]
],
"SYSLOGBASE2": [
[
"Mar 28 14:14:01 host rgmanager[8180]:"
]
],
"timestamp": [
[
"Mar 28 14:14:01"
]
],
"MONTH": [
[
"Mar"
]
],
"MONTHDAY": [
[
"28",
null
]
],
"TIME": [
[
"14:14:01"
]
],
"HOUR": [
[
"14",
null,
null
]
],
"MINUTE": [
[
"14",
null,
null
]
],
"SECOND": [
[
"01",
null
]
],
"timestamp8601": [
[
null
]
],
"YEAR": [
[
null
]
],
"MONTHNUM": [
[
null
]
],
"ISO8601_TIMEZONE": [
[
null
]
],
"SYSLOGFACILITY": [
[
null
]
],
"facility": [
[
null
]
],
"priority": [
[
null
]
],
"logsource": [
[
"host"
]
],
"IPORHOST": [
[
"host"
]
],
"HOSTNAME": [
[
"host"
]
],
"IP": [
[
null
]
],
"IPV6": [
[
null
]
],
"IPV4": [
[
null
]
],
"SYSLOGPROG": [
[
"rgmanager[8180]"
]
],
"program": [
[
"rgmanager"
]
],
"pid": [
[
"8180"
]
],
"message": [
[
"[script] Executing /etc/init.d/clvmd status"
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment