Skip to content

Add validation for the logstash configuration #1

Add validation for the logstash configuration

Add validation for the logstash configuration #1

on: [push]

Check failure on line 1 in .github/workflows/test_config_syntax.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test_config_syntax.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: test-syntax
jobs:
test-syntax:
runs-on: ubuntu-latest
container:
image: logstash:8.12.0
volumes:
- $(pwd)/../../postfix.grok:/etc/logstash/patterns.d/postfix.grok
- $(pwd)/../../50-filter-postfix.conf:/usr/share/logstash/pipeline/50-filter-postfix.conf
steps:
- name: Validate configuration file syntax
run: logstash --config.test_and_exit -f /usr/share/logstash/pipeline/50-filter-postfix.conf