I have a .csv with this format (this is a mock, just to give you an idea of the pattern) code, message, 1, "Not found", 2, "Internal error", 3, "Success", My search allow to do a stats count by code, but not by message. What I need to do is return a table with the message and their count. What I have so far is this query, but it returns a table of code by count, but I need message by count (and all category must be return, even those with count of zero): the search | append [input lookup the csv file] |stats count by message I tried to play with fields and table, but I don't get the desired result.
... View more