I'm going nutz here trying to get numeric values so that I can use field 
graphs

I'm sending string-based information from a NodeJS program using the 
gelfling library

I've tried sending as JSON and extracting the JSON fields -- until I 
learned that everything that is sent via the gelfling library is converted 
to strings

Then I sent key=value pairs in the long_message -- but the extractor is not 
saving the fields

Now I'm using the GROK patterns -- and the fields are being created, but 
they are not numeric?

Here's the long_message

min1Errors=0  min5Errors=0  min15Errors=0  min30Errors=0  min1Errors=0 
 min5Errors=0  min15Errors=0  min30Errors=0  hour1Errors=0  hour4Errors=0 
 hour12Errors=0  dayErrors=1  weekErrors=3  monthErrors=229

Here's my GROK pattern

min1Errors=%{INT:min1Errs}  min5Errors=%{INT:min5Errs} 
 min15Errors=%{INT:min15Errs}  min30Errors=%{INT:min30Errs} 
 min1Errors=%{INT:min1Errs}  min5Errors=%{INT:min5Errs} 
 min15Errors=%{INT:min15Errs}  min30Errors=%{INT:min30Errs} 
 hour1Errors=%{INT:hour1Errs}  hour4Errors=%{INT:hour4Errs} 
 hour12Errors=%{INT:hour12Errs}  dayErrors=%{INT:dayErrs} 
 weekErrors=%{INT:weekErrs}  monthErrors=%{INT:monthErrs}

I've tried NUMBER and INT (NUMBER auto-magically added a BASE10NUM to the 
outputs)

argh!  

Is there anywhere that I can find out the type of the created fields ?


-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/732e6541-f8f8-4e6f-a56f-b140eddd76e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to