shiviz
shiviz copied to clipboard
Allow users to specify data types of information extracted using regex.
Currently, the user is able to extract information from log text using regular expressions. However, everything is stored as a string, which makes it impossible to (for example), extract dates from logs and remove all events that happened during a particular time of day.
We want the user to be able to specify the data type along with the capture group name (the syntax might look something like: "(?groupName:dataType.*)" ).
[Issue created by pqperry: 2014-05-16] [Last updated on bitbucket: 2014-08-26]
[Comment created by pqperry: 2014-05-16] Yeah, that's what I was thinking. Currently, the ones I have in mind are number, date, ipAddress, vectorClock, and string.
[Comment created by bestchai: 2014-05-16] I guess we'll have some pre-defined data types that we'll support, without supporting user-defined data types, right?