{"id":20263614,"url":"https://github.com/springerpe/logstash-integration-tests","last_synced_at":"2025-03-03T19:59:45.824Z","repository":{"id":80987299,"uuid":"192353746","full_name":"SpringerPE/logstash-integration-tests","owner":"SpringerPE","description":"This repository contains all the tools needed to perform integration tests against a dockerized logstash","archived":false,"fork":false,"pushed_at":"2019-07-16T12:47:18.000Z","size":16,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T04:44:33.977Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/SpringerPE.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":"2019-06-17T13:35:20.000Z","updated_at":"2019-09-25T14:38:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"d367c2a2-9d35-42cd-9351-4bb849c9545c","html_url":"https://github.com/SpringerPE/logstash-integration-tests","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/SpringerPE%2Flogstash-integration-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringerPE%2Flogstash-integration-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringerPE%2Flogstash-integration-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringerPE%2Flogstash-integration-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpringerPE","download_url":"https://codeload.github.com/SpringerPE/logstash-integration-tests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241731744,"owners_count":20010781,"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":[],"created_at":"2024-11-14T11:35:43.223Z","updated_at":"2025-03-03T19:59:45.758Z","avatar_url":"https://github.com/SpringerPE.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Intro\nThis repository contains all the tools needed to perform integration tests against a dockerized logstash.\nIn short, it will start a container, copy the logstash configuration files to there and run tests against it.\n\n# Requirements\nYou will need to have `python` (v2.7 or 3.x), `docker` (v.18+) and `docker-compose` (v.1.24+) installed to run the project.\n\n# How to run the tests\nLogstash needs an input to read the events, filters to process the events and an output to specify where to send the\nprocessed event.\nIn this project we only have the input and the output files, we don't have the filters. It's not added to the\nrepository because they are very specific to the needs of whoever uses logstash.\n\nSo, you will need to create a `filters` folder whith all your filters there. If you have more than one `.conf` file,\nthey will be loaded by logstash in an alphabetically order.\n\nAfter that, you will need to change the `data/input.json` field to have the data that you want to use and test.\n\n## input.json example\nIn the example that is commmited in this repo, we are providing logstash with an event with the value\n```\nlog message\n```\n\nAnd 2 fields:\n```\n[field1]\n[nested][field]\n```\n\nWe have 2 expectations (the `expectations` array). These expectations will be tested against the values of\nthe 2 fields already mentioned. If one of them does not match, one of the scripts will return an error code with the\nfailure.\n\n## tl;dr\n\n* Create a `filters` folder;\n* Add your logstash filter files to the folder, alphabetically ordered;\n* Change the `data/input.json` file. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringerpe%2Flogstash-integration-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringerpe%2Flogstash-integration-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringerpe%2Flogstash-integration-tests/lists"}