NETWAYS / NETWAYS/ansible-collection-elasticstack

[Feature]: Improve logging of beats

Open
#346 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component:beats feature
Dominant language
Jinja
Stars
14
Forks
11
Avg merge
1d 47m
Merged PRs (30d)
6

Description

Describe the feature request

We have several hardcoded options in our logging configuration for beats.

The most important changes I see:

  • Make count of rotated and kept files a variable (with default)
  • Make permissions of logfiles a variable and make the default more restrictive than what it is now

Thinking of it I like to have a "global" default for all beats with an option to overwrite it per beat.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the beats logging configuration in this Ansible collection and review where rotated-file counts and logfile permissions are hardcoded. Define defaults that apply globally, allow per-beat overrides, and verify that the resulting default permissions are more restrictive while existing logging configuration remains functional.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.