Filter on a Single Field for One Specific Value
Filter the events using a single field matching a specific value
Query
logscale
status = 404
Introduction
In this example we want a list of events in which the user received the
HTTP code 404
.
Step-by-Step
Starting with the source repository events.
- flowchart LR; %%{init: {"flowchart": {"defaultRenderer": "elk"}} }%% repo{{Events}} 0[/Filter/] result{{Result Set}} repo --> 0 0 --> result style 0 fill:#ff0000,stroke-width:4px,stroke:#000;logscale
status = 404
Filters for all events with the value
404
in the status field. Event Result set.
Summary and Results
The query is used to search a single field for one specific value. In this example, it selects logs with a specific HTTP status.