Skip to content

Commit

Permalink
chore: promtail-config 로그 수집 path 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
5uhwann committed Sep 25, 2024
1 parent 867dadc commit 4e09425
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions promtail/promtail-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ scrape_configs:
- localhost
labels:
job: all_logs
__path__: /var/log/all/*.log
__path__: /var/logs/all/*.log

- job_name: warn
static_configs:
- targets:
- localhost
labels:
job: warn_logs
__path__: /var/log/warn/*.log
__path__: /var/logs/warn/*.log

- job_name: error
static_configs:
- targets:
- localhost
labels:
job: error_logs
__path__: /var/log/error/*.log
__path__: /var/logs/error/*.log

0 comments on commit 4e09425

Please sign in to comment.