Skip to content

sparknsh/ansible-role-graylog_collector

Repository files navigation

Ansible Role: Graylog Collector

Version: 1.1.1

Development of this project is managed in a private repository then pushed out to GitLab and GitHub when we have a new version for you. If you have any issues please contact sparknsh

Role Variables

Use this variable to specify the the version of sidecar to install

graylog_collector_version: 0.1.7

Set the url endpoint of your Graylog server

graylog_collector_server_url: http://127.0.0.1:9000/api/

Use this variable to set a custom name for the server in Graylog. The default is the hostname

graylog_collector_node_id:

Set tags for the server you're installing sidecar on

graylog_collector_tags: []

Example

graylog_collector_version: 0.1.7
graylog_collector_server_url: http://graylog:9000/api/
graylog_collector_tags:
  - linux
  - nginx
  - php
  - mysql

Example Playbook

- hosts: all
  vars_files:
    - vars/main.yml
  roles:
     - { role: sparknsh.graylog_collector }

License

MIT

Author Information

This role was created in 2018 by sparknsh at Rebel Media, Inc.