where
Table of Contents
Examples
You can limit the amount of results with comparison operators.
%dpl
index=example | where offset < 5
You also can use where
to find rows that contain the value you are looking for.
%dpl
index=example | where _raw = 50
The command can be used alone or with other transform commands. For example, you can limit the amount of results and then create a chart based on the curated data.
%dpl
index=example
| where _raw = 50
| timechart sum(_raw)