Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Fix malformed example #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ particular task. The name of this field is stored in `unique_id_field`.
You can use a Grok filter to prepare the events for the elapsed filter.
An example of configuration can be:
[source,ruby]
--------------------------------------------------
filter {
grok {
match => { "message" => "%{TIMESTAMP_ISO8601} START id: (?<task_id>.*)" }
Expand All @@ -65,6 +66,7 @@ An example of configuration can be:
unique_id_field => "task_id"
}
}
--------------------------------------------------

The elapsed filter collects all the "start events". If two, or more, "start
events" have the same ID, only the first one is recorded, the others are
Expand Down Expand Up @@ -177,4 +179,4 @@ the last one will be used.


[id="plugins-{type}s-{plugin}-common-options"]
include::{include_path}/{type}.asciidoc[]
include::{include_path}/{type}.asciidoc[]