Skip to content

Conversation

@martijnvg
Copy link
Member

This allows specifying a query as filter on data stream alias,
which will then always be applied when searching via this alias.

Relates #66163

@martijnvg martijnvg force-pushed the filtered_data_stream_aliases branch 9 times, most recently from adba6c1 to 97a0523 Compare July 5, 2021 17:21
This allows specifying a query as filter on data stream alias,
which will then always be applied when searching via this alias.

Relates elastic#66163
@martijnvg martijnvg force-pushed the filtered_data_stream_aliases branch from 97a0523 to 5538576 Compare July 5, 2021 17:58
@martijnvg martijnvg marked this pull request as ready for review July 5, 2021 19:00
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Jul 5, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@martijnvg martijnvg requested a review from danhermann July 5, 2021 19:01
Copy link
Contributor

@danhermann danhermann left a comment

Choose a reason for hiding this comment

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

LGTM. Minor non-blocking suggestion below.

randomBoolean() ? randomFrom(dataStreams) : null
);
randomBoolean() ? randomFrom(dataStreams) : null,
randomMap(1, 4, () -> new Tuple<>("term", Map.of("year", "2022"))));
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe randomly create the alias without a filter?

@martijnvg martijnvg merged commit 3dde09a into elastic:master Jul 20, 2021
martijnvg added a commit to martijnvg/elasticsearch that referenced this pull request Jul 20, 2021
Backporting elastic#74784 to 7.x branch.

This allows specifying a query as filter on data stream alias,
which will then always be applied when searching via this alias.

Relates elastic#66163
martijnvg added a commit to martijnvg/elasticsearch that referenced this pull request Jul 21, 2021
martijnvg added a commit that referenced this pull request Jul 21, 2021
Backporting #74784 to 7.x branch.

This allows specifying a query as filter on data stream alias,
which will then always be applied when searching via this alias.

Relates #66163
martijnvg added a commit that referenced this pull request Jul 21, 2021
martijnvg added a commit to martijnvg/elasticsearch that referenced this pull request Jul 21, 2021
martijnvg added a commit that referenced this pull request Jul 21, 2021
elasticsearchmachine pushed a commit to elasticsearchmachine/elasticsearch that referenced this pull request Jul 21, 2021
martijnvg added a commit that referenced this pull request Jul 21, 2021
Co-authored-by: Martijn van Groningen <[email protected]>
ywangd pushed a commit to ywangd/elasticsearch that referenced this pull request Jul 30, 2021
This allows specifying a query as filter on data stream alias,
which will then always be applied when searching via this alias.

Relates elastic#66163
ywangd pushed a commit to ywangd/elasticsearch that referenced this pull request Jul 30, 2021
ywangd pushed a commit to ywangd/elasticsearch that referenced this pull request Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Data streams Data streams and their lifecycles >enhancement Team:Data Management Meta label for data/management team v7.15.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants