Skip to content

Commit

Permalink
added tags
Browse files Browse the repository at this point in the history
  • Loading branch information
raftmsohani committed Nov 15, 2024
1 parent 69f0bb4 commit f651094
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tdrs-backend/plg/promtail/config.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ scrape_configs:
labels:
job: django
__path__: /logs/django.log
pipeline_stages:
- regex:
expression: '^(?P<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3}) (?P<level>\w+) (?P<logger>\S+) (?P<message>.*)$'
- labels:
level:
logger:
message:
time:
- job_name: nginx
static_configs:
- targets:
Expand Down

0 comments on commit f651094

Please sign in to comment.