[Lognorm] PR for field-type 'float' and field-types for parsing suffixed-values('suffixed' and 'named_suffixed')

singh.janmejay singh.janmejay at gmail.com
Fri Feb 27 14:05:06 CET 2015


- Implemented float (a type that parses real numbers in form of
nnn.nnn) (note that this doesn't handle n.nnne^nn or any other
scientific notation, but then those are not all that common in logs)

- Implemented suffixed and named_suffixed field types that allow
parsing of fields that have one of many potential suffixes (like a
disk-space value which may have suffix kb, mb, gb etc). Field
named_suffixed does exactly the same thing as suffixed, but allows
user to name the parsed-value and suffix field unlike suffixed, which
provides default names "value" and "suffix".

- Tokenized wasn't working with lognorm special characters ('%' and
':') because it wasn't unescaping token-string, which is now fixed.



-- 
Regards,
Janmejay
http://codehunk.wordpress.com


More information about the Lognorm mailing list