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

Exclude system indexes from Elasticsearch connector during ingestion #13894

Closed
dN0Mad opened this issue Nov 8, 2023 · 2 comments · Fixed by #14685
Closed

Exclude system indexes from Elasticsearch connector during ingestion #13894

dN0Mad opened this issue Nov 8, 2023 · 2 comments · Fixed by #14685
Assignees
Labels
enhancement New feature or request Ingestion

Comments

@dN0Mad
Copy link

dN0Mad commented Nov 8, 2023

Is your feature request related to a problem? Please describe.
When ingesting data with the Elasticsearch connector, all indexes are fetched from Elasticsearch prior to filtering - including the system indexes (e.g. .transform-internal*, .kibana*. This causes problems w.r.t. cluster and index permissions required for the service user.

Describe the solution you'd like
Prevent the Elasticsearch connector from fetching the system indices before filtering.
Perhaps by updating the "get_search_index_list" method, to include the "expand_wildcards" ('all', 'closed', 'hidden', 'none', 'open') variable in "index_list = self.client.indices.get_alias() or {}".

Describe alternatives you've considered
NA

Additional context
Se documentation: https://elasticsearch-py.readthedocs.io/en/v8.10.1/api.html#elasticsearch.client.IndicesClient.get_alias

image

@dN0Mad dN0Mad added the enhancement New feature or request label Nov 8, 2023
@ulixius9 ulixius9 self-assigned this Nov 8, 2023
@dN0Mad
Copy link
Author

dN0Mad commented Nov 28, 2023

Hi @ulixius9, do you know which iteration this feature may be implemented?

@ulixius9
Copy link
Member

Hey @dN0Mad, we are planning fix it with 1.3 release

@harshach harshach moved this to Ingestion - Bugs & Minor Features in Release 1.3.0 Nov 30, 2023
@harshach harshach moved this from Ingestion - Bugs & Minor Features to Done in Release 1.3.0 Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Ingestion
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants