Skip to content

Change Logstash writer role credentials to variable #13

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

Closed
widhalmt opened this issue Feb 1, 2023 · 0 comments
Closed

Change Logstash writer role credentials to variable #13

widhalmt opened this issue Feb 1, 2023 · 0 comments
Labels
feature New feature or request
Milestone

Comments

@widhalmt
Copy link
Member

widhalmt commented Feb 1, 2023

We have hardcoded permissions on hardcoded indices in our logstash_writer_role file. At least the names of the indices need to be changed to a variable, preset with defaults.

We also need to check whether the role has the same permissions we have in the role. Either check for the role in Elasticsearch (better but way more complicated) or just check if the file we put on the host and write into the cluster has changed. A handler might do the trick.

@widhalmt widhalmt added the feature New feature or request label Feb 1, 2023
@widhalmt widhalmt added this to the 1.0.0 milestone Feb 2, 2023
ivareri pushed a commit to ivareri/ansible-collection-elasticstack that referenced this issue Jun 17, 2025
* Start SuSE integration

We still need tests for SuSE. Since our regular source doesn't provide
them, we need to build something from scratch.

fixes NETWAYS#13

* Install community collection to have zypper modules at hand
* Remove linter rule about fqcn
* Make version a string (for linting)
ivareri pushed a commit to ivareri/ansible-collection-elasticstack that referenced this issue Jun 17, 2025
ivareri pushed a commit to ivareri/ansible-collection-elasticstack that referenced this issue Jun 17, 2025
* Change indices `logstash_writer` has access to to variable
* Optionally reset role with every run
* Add information to docs

fixes NETWAYS#13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant