Charles
Charles

Reputation: 53

my rowfilter for regexstring is wrong

I want to get all rows end with 2017-04-12. Shell command is scan 'tr_log_v2', {FILTER => "RowFilter(=, 'regexstring:*2017-04-12')"}. And an error happens Incorrect filter string RowFilter(=, 'regexstring:*2017-04-12'). What is the right way to do this?

Upvotes: 2

Views: 227

Answers (1)

franklinsijo
franklinsijo

Reputation: 18270

Try this comparator 'regexstring:2017-04-12$'

The scan statement would be,

scan 'tr_log_v2', {FILTER => "RowFilter(=, 'regexstring:2017-04-12$')"}

Upvotes: 1

Related Questions