I have a GROK pattern I am trying to use in Logstash that works within the GROK Debugger website but not within Log stash. I've tried different configurations with no success. I'm hoping someone can help me identify why this is not working.
Input: 2015-04-15 12:43:23.788 1883 AUDIT nova.compute.resource_tracker [-] Free disk (GB): -7
Search Pattern: Free disk \(GB\): \-%{INT:auth_method}
I want to extract the value 7
Thanks for your help!!!!
%{INT:auth_method:int}
to make the auth_method field an integer field instead of a string field. – Magnus Bäck