Working with rbednark we discovered that renaming the variable allowed the eval and count to work as expected.
Can't use . in an eval comparison I guess?
message.meta.service=foo
| rename message.meta.route as route
| stats
count(eval(route="/foobar/publish")) as publishes
... View more