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

Auto expand replicas for indices created by Security/SIEM and Ingest Manager #82606

Open
gbanasiak opened this issue Nov 4, 2020 · 8 comments
Labels
bug Fixes for quality problems that affect the customer experience sdh-linked Team:Fleet Team label for Observability Data Collection Fleet team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM

Comments

@gbanasiak
Copy link
Contributor

Create indices for Security/SIEM and Ingest Manager with auto-expand replicas set to 0-1 similarly to other Kibana indices to prevent false alarms in test 1-node Elasticsearch deployments.

Security/SIEM:

health status index                             uuid                   pri rep docs.count docs.deleted store.size pri.store.size
yellow open   .items-default-000001             9XS6sCp2RDW3Qu-Ytg0Afw   1   1          0            0       208b           208b
yellow open   .lists-default-000001             _lpXqZyRSjSF7fMK0THZ0w   1   1          0            0       208b           208b
yellow open   .siem-signals-default-000001      DNw28c7qRm6F44MXU_GSJw   1   1          0            0       208b           208b

Ingest Manager:

health status index                             uuid                   pri rep docs.count docs.deleted store.size pri.store.size
yellow open   logs-index_pattern_placeholder    q104NixDRn2QJpwT-jKPrQ   1   1          0            0       208b           208b
yellow open   metrics-index_pattern_placeholder 22HbuRjMQraipkLndVfXLQ   1   1          0            0       208b           208b
@kindsun kindsun added enhancement New value added to drive a business result Team:Fleet Team label for Observability Data Collection Fleet team Team:SIEM labels Nov 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@ph ph added the v7.11.0 label Nov 9, 2020
@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Nov 16, 2020
@LeeDr
Copy link
Contributor

LeeDr commented Jan 7, 2021

FYI, this issue has an enhancement label and a 7.11.0 label. Since we're past FF for 7.11.0 this should move out to 7.12.0.

@Funbit
Copy link

Funbit commented Apr 11, 2021

It's 7.12 already, but problem is still here and it's pretty annoying :(
Will it be fixed in the next release?

@jen-huang
Copy link
Contributor

@ruflin What do you think about this proposal? I think it would be simple to add this setting to the index templates that Fleet creates?

@jen-huang jen-huang removed the v7.11.0 label Apr 28, 2021
@ruflin
Copy link
Member

ruflin commented Apr 28, 2021

Agree, should be simple to add. I wonder if this would have any other side effects?

@wallrik
Copy link

wallrik commented Sep 23, 2021

One issue I bumped into today with these particular indices is that even after manually setting auto_expand_replicas: "0-1" in each of the index templates, the system templates seem to get overridden at some point... I'm unsure when exactly, but I think it was after I updated to 7.15.0, resulting in the cluster showing unassigned shards yet again.

It would be awesome if all system indices could be auto-expanding to allow single-node tests. 👍

This might actually get some partial love from #111152 so we got that going at least 😁

@kobelb
Copy link
Contributor

kobelb commented Aug 31, 2022

Created #139864 to track this request explicitly for the .alerts-* indices.

@kobelb kobelb added bug Fixes for quality problems that affect the customer experience and removed enhancement New value added to drive a business result labels Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience sdh-linked Team:Fleet Team label for Observability Data Collection Fleet team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM
Projects
None yet
Development

No branches or pull requests