Reputation: 1
I want to exclude sqls: select count(*) from trade, insert into task, how to config?
In spy.properties,belows doesn't work
dateformat=yyyy-MM-dd HH:mm:ss.SSS #this works, so spy.properties works.
filter=true
excludeconnectfilters=.SELECT\s+COUNT\s\(\s*\\s\)\sAS\s+total\s+FROM\s+trade\s+.,insert into xxx.*
Upvotes: 0
Views: 45
Reputation: 1
Fixed, using sqlexpresion like this:
exclude sql like select or otherKeyWords:
filter=true
sqlexpression=^(?!.*select)(?!.*otherKeyWords).*$
Upvotes: 0