Horje
promtail multiline Code Example
promtail multiline
server:
  log_level: info
  http_listen_port: 3101

client:
  url: http://***-loki:3100/loki/api/v1/push
  

positions:
  filename: /run/promtail/positions.yaml

scrape_configs:
  # See also https://github.com/grafana/loki/blob/master/production/ksonnet/promtail/scrape_config.libsonnet for reference
  - job_name: kubernetes-pods
    pipeline_stages:
      - docker: {}
      - multiline:
          firstline: ^\x{200B}\[
          max_lines: 128
          max_wait_time: 3s
      - replace:
          expression: (\n)
          replace: ""

#config continues below (not copied)




Shell

Related
ubuntu stop jira service Code Example ubuntu stop jira service Code Example
ubuntu upgrade libstdc++ Code Example ubuntu upgrade libstdc++ Code Example
linux check speed of file growth Code Example linux check speed of file growth Code Example
This script uses variables to make a backup of my home directory. Code Example This script uses variables to make a backup of my home directory. Code Example
cacti ubuntu 16.04 Code Example cacti ubuntu 16.04 Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12