{"id":19110035,"url":"https://github.com/coopdevs/elk-coopdevs","last_synced_at":"2026-02-26T23:03:56.206Z","repository":{"id":96224223,"uuid":"147643937","full_name":"coopdevs/elk-coopdevs","owner":"coopdevs","description":"First iteration of ELK provisioning playbooks to manage the logs monitoring of Coopdevs projects.","archived":false,"fork":false,"pushed_at":"2018-11-29T09:19:20.000Z","size":27,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-22T11:18:31.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://elk.danpalrod.xyz/app/kibana","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coopdevs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-06T08:42:24.000Z","updated_at":"2020-12-18T06:04:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"49a74d47-42d8-4ad4-9211-79b2ea012330","html_url":"https://github.com/coopdevs/elk-coopdevs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coopdevs/elk-coopdevs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Felk-coopdevs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Felk-coopdevs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Felk-coopdevs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Felk-coopdevs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coopdevs","download_url":"https://codeload.github.com/coopdevs/elk-coopdevs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coopdevs%2Felk-coopdevs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29876365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T22:37:10.609Z","status":"ssl_error","status_checked_at":"2026-02-26T22:37:09.019Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T04:23:22.358Z","updated_at":"2026-02-26T23:03:55.965Z","avatar_url":"https://github.com/coopdevs.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ELK Stack Provision\n\nAnsible project to setup a server of log monitoring using the [ELK stack](https://www.elastic.co/elk-stack).\n\n## Requeriments\n\nThis project has been thinked to run in Debian 9.0 (Stretch\n\n* Ansible 2.5.2 or last\n\nYou can find more information about Ansible [here](http://docs.ansible.com/)\n\n### System Requirements\n\n* Ubuntu Bionic 18.04 LTS\n* Java version \u003c= 8\n\n\u003e Logstash doesn't support Java 10, which is available on Bionic from `openjdk-11-jre`. If you have it installed on your system, remove it. Use the older version until Logstash gets support, `openjdk-8-jre`.  \n\n#### Minim hardware\n* 2 CPUs\n* 8 GB RAM\n\n## Playbooks\n\n### Create System Administrators users - `playbooks/sys_admins.yml`\n\nThis playybook use the [`sys-admins` role](https://github.com/coopdevs/sys-admins-role) of Coopdevs to manage the system administrators users.\n\n### SetUp ELK server - `playbooks/site.yml`\nThis playbook do run the next community roles:\n\n* [Geerlingguy Security](https://galaxy.ansible.com/geerlingguy.security)\n* [Geerlingguy Java](https://galaxy.ansible.com/geerlingguy.java)\n* [Geerlingguy Elasticsearch](https://galaxy.ansible.com/geerlingguy.elasticsearch)\n* [Geerlingguy Logstash](https://galaxy.ansible.com/geerlingguy.logstash)\n* [Geerlingguy Kibana](https://galaxy.ansible.com/geerlingguy.kibana)\n* [Geerlingguy htpasswd](https://galaxy.ansible.com/geerlingguy.htpasswd)\n* [Coopdevs Certbot NGINX](https://galaxy.ansible.com/coopdevs.certbot_nginx)\n* [Jdauphant NGINX](https://galaxy.ansible.com/jdauphant.nginx)\n\nTo use, run:\n```\nansible-playbook playbooks/site.yml --limit HOSTGROUP \u003c--tags TAGS -v\u003e\n```\n\n## Configurable Variables\n\nThis examples are from `./inventory/host_vars/local.tryton.coop/config.yml`. You can create new `host_vars` folder with your domain as name and modify this vars.\nWe recommend encrypting the variables with sensitive information with [Ansible Vualt](https://docs.ansible.com/ansible/2.4/vault.html) and use `--ask-vault-pass` in the command line.\n\n* Sysadmins\n```YAML\nsystem_administrators_group:      # System administrators group\nsystem_administrators:            # List of system administrators added to the group\n  - name:                         # User name\n    ssh_key:                      # User SSH public key file path\n    state:                        # User state (present/absent)\n```\n\n* NGINX, BAuth, Certbot\n```YAML\ndevelopment_environment:          # Set 'development_environment' to \"true\" to skip SSL and nginx tasks\n```\n\n* LetsEncrypt\n```YAML\ncertificate_authority_email:      # Let's Encrypt configuration email\n```\n\n* Basic Auth\n```YAML\nkibana_admin:                     # Basic Authentication user\nkibana_password:                  # Basic Authentication password\n```\n\n## Ansible Community Roles\n\nTo download the community roles, you can run:\n```\nansible-galaxy install -r requirements.yml\n```\n\n### List of Galaxy roles:\n\n* [Coopdevs SysAdmins](https://galaxy.ansible.com/coopdevs.sys-admins-role)\n* [Geerlingguy Security](https://galaxy.ansible.com/geerlingguy.security)\n* [Geerlingguy Java](https://galaxy.ansible.com/geerlingguy.java)\n* [Geerlingguy Elasticsearch](https://galaxy.ansible.com/geerlingguy.elasticsearch)\n* [Geerlingguy Logstash](https://galaxy.ansible.com/geerlingguy.logstash)\n* [Geerlingguy Kibana](https://galaxy.ansible.com/geerlingguy.kibana)\n* [Geerlingguy htpasswd](https://galaxy.ansible.com/geerlingguy.htpasswd)\n* [Coopdevs Certbot NGINX](https://galaxy.ansible.com/coopdevs.certbot_nginx)\n* [Jdauphant NGINX](https://galaxy.ansible.com/jdauphant.nginx)\n\n## Devenv\n\nWe use [`devenv`](https://github.com/coopdevs/devenv) tool to manage the development environment. Check the `.devenv` configuration file.\n\nInstall and run `devenv` to start a development environment.\n\n\u003e :warning: **Ubuntu Bionic (18.04) needs install `gpg` package first of all.** :warning:\n\n\u003e To allow to add new ppa repositories. You can run:\n\u003e ```\n\u003e lxc-attach -n \u003ccontainer-name\u003e -- apt install gpg\n\u003e ```\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/coopdevs/elk-coopdevs\u003e)\n2. Create your feature branch (`git checkout -b feature/fooBar`)\n3. Commit your changes (`git commit -am 'Add some fooBar'`)\n4. Push to the branch (`git push origin feature/fooBar`)\n5. Create a new Pull Request\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoopdevs%2Felk-coopdevs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoopdevs%2Felk-coopdevs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoopdevs%2Felk-coopdevs/lists"}