LoginSignup
0
0

More than 1 year has passed since last update.

promtailのsyslog解析

Posted at
pipeline_stages:
   - regex:
       expression: ^(?P<timestamp>\w{3}\s+\d{1,2}\s?\d{2}:\d{2}:\d{2})\s(?P<host>\S+)\s(?P<process>[\w\[\]\-]+):\s(?P<message>.+)$
   - labels:
       timestamp:
       host:
       process:
       message:
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0