Created
December 12, 2013 00:03
-
-
Save firstnevyn/7920904 to your computer and use it in GitHub Desktop.
a logstash filter for puppet run and compile times
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
if [program] == "puppetmasterd" { | |
grok { match => [ "message", "Compiled catalog for %{HOSTNAME:puppet_client} in %{NUMBER:puppet_compile:int} seconds" ] | |
} | |
} | |
if [program] == "puppetd" { | |
grok { match => [ "message", "Finished catalog run in %{NUMBER:puppet_runtime:float} seconds" ] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment