-
Notifications
You must be signed in to change notification settings - Fork 306
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
Update index.asciidoc #1094
base: main
Are you sure you want to change the base?
Update index.asciidoc #1094
Conversation
@@ -93,6 +93,21 @@ output { | |||
} | |||
----- | |||
|
|||
**Example: Configuration for Winlogbeats to Output to Winlogbeat created Data Stream** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example is being inserted between the code block and explanation text of the previous example. Please move it to after the "Customize data stream name" example.
} | ||
} | ||
----- | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example shows how to handle writing to data streams that don't conform to the "logs-generic-default" format. | |
For that purpose, you can disable datastreams, configure the name of the data stream to be written to in the "index =>" setting, and set "action" to "create" as it is the only action supported in data streams. |
hosts => "hostname" | ||
index => "winlogbeat-8.4.3" | ||
pipeline => "winlogbeat-8.4.3-routing" | ||
action => "create" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
action => "create" | |
action => "create" | |
data_stream => "false" |
Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/
I have added a section to clarify outputting to Winlogbeat created Data Stream.