{"id":18789045,"url":"https://github.com/artemmkin/logging-sandbox","last_synced_at":"2025-12-25T22:30:14.224Z","repository":{"id":133973509,"uuid":"85098702","full_name":"Artemmkin/logging-sandbox","owner":"Artemmkin","description":null,"archived":false,"fork":false,"pushed_at":"2017-03-15T17:46:06.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T14:34:13.920Z","etag":null,"topics":["elasticstack","filebeat","fluentd","graylog","kafka","logging","redis","rsyslog","syslog-ng"],"latest_commit_sha":null,"homepage":"","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/Artemmkin.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":"2017-03-15T16:57:36.000Z","updated_at":"2018-06-18T05:14:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"6814758c-62f4-455d-98fa-c413656ba195","html_url":"https://github.com/Artemmkin/logging-sandbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Artemmkin%2Flogging-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Artemmkin%2Flogging-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Artemmkin%2Flogging-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Artemmkin%2Flogging-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Artemmkin","download_url":"https://codeload.github.com/Artemmkin/logging-sandbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239709039,"owners_count":19684184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["elasticstack","filebeat","fluentd","graylog","kafka","logging","redis","rsyslog","syslog-ng"],"created_at":"2024-11-07T21:06:31.239Z","updated_at":"2025-12-25T22:30:14.144Z","avatar_url":"https://github.com/Artemmkin.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"_These roles assume that you run ubuntu14.04. I used AWS for my tests_\n\n\n### How to use these roles?\n\nThere is a separate role for each service you want to install and play around with.\n\nNormally, the order of the steps you should take would be like this:  \n1. Install Storage and Log Indexer (Elastic Stack, Graylog):\n\n    There is a role and a playbook for each ```storage+indexer``` host: ```elk```, ```graylog```.\n\n2. (optional) Install a Message Broker on a separate host:\n\n    There is a role for each Message Brokers to install: ```kafka```, ```redis```. Change ```broker.yml``` playbook to define which one you want to install.\n3. Install some service (nginx, apache2, etc) on a separate host along with a shipper.\n\n    There is a role for each ```log shipper``` and a role for ```services``` which installs services we specify in ```install_services``` variable inside ```log-generator.yml``` playbook. In the same playbook, we specify which _log shipper_ we want to install. Note, that some roles, like ```filebeat```, require a few variables to be set before running, so please see a role's readme file first before running anything.\n\n\n### Things you have to chagne\n\nYou'll have to change ```ansible.cfg``` file and make sure you have a correct path to the ssh key:\n```\nprivate_key_file = ~/.ssh/express42\n```\n\nAlso, change hosts ip addresses inside the ```hosts``` file.\n```\nelk ansible_host=\u003cpublic_ip_address\u003e ansible_user=ubuntu\n```\n\nList the playbook you want to run in ```site.yml``` file.\n\n### How to run?\n\nYou can use a command like the one bellow to run all the playbooks you specified inside ```site.yml```:\n```\nansible-playbook site.yml\n```\n\nto run just one specific playbook, you can use this command:\n\n```\nansible-playbook playbook/\u003cname_of_playbook\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemmkin%2Flogging-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartemmkin%2Flogging-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemmkin%2Flogging-sandbox/lists"}