Download Sumo Logic User Guide
Transcript
groups messages by content similarity into clusters. For more information about the summarize algorithm, see Detecting Patterns with Summarize. l Timeslice ... | timeslice by time_period as fieldname ... | timeslice 25 buckets Timeslice segregates search results by fixed time period, or by any number of buckets over a time range. l Group ... | group-by-function (field_to_operate_on) group by (field_to_group_by) | ... Group-by functions include count, count_distinct, sum, avg, stddev, max, min, last, and first. You can use "group" or "by" instead of "group by" so "count (*) group by user" is equivalent to "count by user". All groupby functions create a corresponding field preceded by an underscore, for example, _count. l Sort ... | sort by sort_by_clause field_to_sort_by | ... The Sort operator orders aggregate search results. l Limit ... | limit 20 Use the Limit operator to reduce the number of messages or aggregated results returned. l Math Expressions ... | expression as alias | ... Supported mathematical operators include: +, -, *, /, %, as well as the ternary boolean operator "condition ? v0 : v1". A set of mathematical functions are also supported including abs, ceil, floor, round, exp, log, log10, pow, signum, sqrt, sin, cos, asin and acos. If you have a set of messages displayed in the Messages tab, you can click any term within a message to add it to the query you are building (AND clicked_term). You can also use Alt-click to remove a term from results (!clicked_term, or NOT clicked_term). Search Highlighting When you perform a search, and results are returned, your search terms are highlighted in the Messages tab. For example, using this query: (error OR fail*) AND exception | count by _sourceCategory| sort by _count returns the following results in the Messages tab. 143