fstab / grok_exporter

Export Prometheus metrics from arbitrary unstructured log data.
Apache License 2.0
899 stars 152 forks source link

how metric multiple files #111

Open yudatou123 opened 4 years ago

yudatou123 commented 4 years ago

my config.yaml :

global: config_version: 2 input: type: file path: /home/admin/edas/logs/*.log fail_on_missing_logfile: false grok: patterns_dir: ./patterns metrics:

but t he above profile does not take effect

yudatou123 commented 4 years ago

i find can't use 'paths' in 'input',

the error: Failed to load /grok/config.yml: invalid input configuration: 'input.path' is required for input type "file"