Another example is being added to the docs for the uniq operator showing record values.
Why
An recent inquiry from a user on community Slack showed a lack of understanding about how uniq works. I got the sense that they thought things like differing timestamp values in adjacent records would not result in "uniqueness". While I can't say with certainty the docs update here would have made the difference, looking at what we've got through the eyes of a new user, the way all the current examples show only primitive values could be improved upon.
I want to know why I can't use uniq filtering on column data
i.e., they seemed to think that the named fields in the sort would somehow carry over to what fields are considered by uniq. That's a leap far enough that I'm not inclined to add text speaking to that precise misunderstanding. But considering how many of our users still process logs with Zed/Zui, I figure having at least one example showing records may help a future user self-service via the docs before coming to Slack.
What's Changing
Another example is being added to the docs for the
uniq
operator showing record values.Why
An recent inquiry from a user on community Slack showed a lack of understanding about how
uniq
works. I got the sense that they thought things like differing timestamp values in adjacent records would not result in "uniqueness". While I can't say with certainty the docs update here would have made the difference, looking at what we've got through the eyes of a new user, the way all the current examples show only primitive values could be improved upon.Details
FWIW, here was was in the community Slack thread I was reacting to:
i.e., they seemed to think that the named fields in the
sort
would somehow carry over to what fields are considered byuniq
. That's a leap far enough that I'm not inclined to add text speaking to that precise misunderstanding. But considering how many of our users still process logs with Zed/Zui, I figure having at least one example showing records may help a future user self-service via the docs before coming to Slack.