Search and Filter Log Data
Learn how to search and filter log data using the Log Viewer.
How Search Works
A search term is a string consisting of a single word, or a phrase surrounded by quotes. Terms are searched against the entire log, but can be searched on a particular field if one is specified. By default, terms are also case insensitive and treated as prefixes. For example, search lin
will return logs containing lin
, line
, and Linux
.
Operators change how search terms are interpreted. Using operators gives you greater control over the search process in order to provide more relevant results.
How To Search
- Learn about filters and operators in Search Log Contents.
- Learn how to search JSON (nested fields) in Search Log Fields.
Search Tips
No Search Results Found
Searches that return no results are usually caused by searches that are too vague.
For example, searching for the
or another common word would result in an excessive number of results, and not all of them will be displayed. For this reason, Mezmo doesn’t support single-character searches.
To avoid this problem, try using the exact match operator such as equal (:==
) instead of the prefix match operator (:
). You should also search on a specific field, instead of the entire log. Lastly, if you know exactly how your search term appears in your logs, you can enable case sensitivity by using the :===
operator. Learn more in Search Tips.
Unexpected Results
Mezmo searches visible fields as well as internal fields, such as metadata and the raw log message. Your query can match on these "invisible" fields, resulting in the log appearing in the results.
You can override this by specifying the field to search. For example, if your logs contain a level
field and you want to find error-level logs, enter level:error
as your query instead of just error
.
Search Query Warnings
The warning Unsupported visualizations query: symbols
is displayed whenever any symbols are used in a query, for example, /
, +
, etc. There is no issue with your query and search results. The warning shows up to let you know that the query was performed without the symbols to populate the Graphs or Timeline Graphs.
To search for symbols they must be wrapped in quotes.
Camel Cased Words And Case Sensitivity
When logs lines are stored and indexed, compound words with internal capitalization like SyntaxError
get split up into separate words, Syntax
and Error
. This means that performing a search (defaults to case insensitive) for syntaxerror
may not return lines containing that term because it was not stored that way. You will need to query for 'SyntaxError' to match the original form in this case.
Search Feedback
When searching, the Mezmo app will provide feedback if a search is correct.
Field Search Correct Syntax
The search will highlight a yellow color.

Correct field searches are highlighted yellow
Field Search Incorrect Syntax
The search will have a red underline and offer tips by clicking on the red triangle.

Incorrect field searches have a red underline and red warning triangle
Simple Search Feedback
Simple text searches do not show if a search is correct or not.
Troubleshooting and Tips
For tips and troubleshooting information, check out the Mezmo Log Analysis Support Knowledge Base.