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

Update index.asciidoc #1094

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Gunnerva
Copy link

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.

@@ -93,6 +93,21 @@ output {
}
-----

**Example: Configuration for Winlogbeats to Output to Winlogbeat created Data Stream**
Copy link
Member

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.

}
}
-----

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
action => "create"
action => "create"
data_stream => "false"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants