ansible-beats icon indicating copy to clipboard operation
ansible-beats copied to clipboard

Added support for Beats modules

Open stoffus opened this issue 4 years ago • 10 comments

Implemented support for managing Beats modules. For the case of default configuration, it assumes the corresponding module to be present inside the modules.d directory.

Basic usage

Enabling modules with custom configuration

Enable the nginx module with custom configuration:

beat_modules:
  nginx:
    config:
      access:
        enabled: true
        var.paths: ["/var/log/nginx/access.log", "/var/log/nginx/*/access.log"]
      error:
        enabled: true
        var.paths: ["/var/log/nginx/error.log", "/var/log/nginx/*/error.log"]

Enabling modules with default configuration

Enable the system and redis modules with default configuration:

beat_modules:
  system:
  redis:

Disabling modules

Disable the rabbitmq module:

beat_modules:
  rabbitmq:
    enabled: false

stoffus avatar Feb 25 '21 12:02 stoffus

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

elasticmachine avatar Feb 25 '21 12:02 elasticmachine

💚 CLA has been signed

jenkins test this please

jmlrt avatar Mar 03 '21 13:03 jmlrt

Hi @stoffus, Thanks for opening this PR. We'll try to review it soon. Please be patient.

jmlrt avatar Mar 03 '21 13:03 jmlrt

Any news ?

K2Death avatar Apr 07 '21 09:04 K2Death

It's working in Production Environment. (test with my own fork)

Is it possible to review this change and add this feature ?

K2Death avatar May 03 '21 19:05 K2Death

Hi , any news for this PR ? Regards

K2Death avatar Jun 11 '21 10:06 K2Death

This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. To track this PR (even if closed), please open a corresponding issue if one does not already exist.

botelastic[bot] avatar Jan 11 '22 17:01 botelastic[bot]

@ladislavmacoun please don't let this go stale. What needs to happen next?

devmills avatar Jan 13 '22 15:01 devmills

@ladislavmacoun please don't let this go stale. What needs to happen next?

Sorry @devmills, I can't help you with this since I am not a member of elastic team, also we have moved from the official beat role and not using this anymore.

ladislavmacoun avatar Jan 17 '22 09:01 ladislavmacoun