Skip to content

Conversation

anders-swanson
Copy link
Contributor

@cosmo0920 Fixes #43

Signed-off-by: Anders Swanson <anders.swanson@oracle.com>
@anders-swanson anders-swanson force-pushed the anders/auto-create-ds branch from f1a8fc0 to 3d1d651 Compare March 31, 2022 22:20
@anders-swanson
Copy link
Contributor Author

Does this need a new test? Only change was to delete code.

@cosmo0920
Copy link
Collaborator

Hmm, OpenSearch will create DataStreams indices when they don't exist. This is curious behavior....

@cosmo0920 cosmo0920 merged commit 535b7a4 into fluent:main Apr 4, 2022
@anders-swanson
Copy link
Contributor Author

anders-swanson commented Apr 4, 2022

See OpenSearch docs: https://opensearch.org/docs/latest/opensearch/data-streams/#step-2-create-a-data-stream
Specifically:

Because we have a matching index template with a data_stream object, OpenSearch automatically creates the data stream

@anders-swanson anders-swanson deleted the anders/auto-create-ds branch April 4, 2022 13:26
@cosmo0920
Copy link
Collaborator

Wow, it’s user-oriented feature! Thanks for the info.

@ayaranga
Copy link

ayaranga commented Apr 9, 2022

@cosmo0920 Can you please make this fix available in a release?

@ayaranga
Copy link

Thanks @cosmo0920 for making this fix available in v1.0.4

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

Successfully merging this pull request may close these issues.

Data Stream may already exist
3 participants