Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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: (
)
          replace: ""

#config continues below (not copied)
Comment

PREVIOUS NEXT
Code Example
Shell :: where to export wsl AppData 
Shell :: source code not available.. 
Shell :: dockerfile export to local file 
Shell :: Case/switch 
Shell :: Show error message and exit if $FOO is unset (or null) 
Shell :: How To Edit Log File On Batch Script 
Shell :: query of meta command psql 
Shell :: Composer Terminal Valet 
Shell :: add user to wheel groub 
Shell :: fugitive select branch 
Shell :: Delay app startup on Ubuntu 
Shell :: ubuntu download and extract tar 
Shell :: head linux 
Shell :: gitignore a specific file 
Shell :: github status 
Shell :: install selenium 
Shell :: github pull request template 
Shell :: copy commit in another branch 
Shell :: ssh ubuntu version check 
Shell :: bash change and make directory 
Shell :: install postman arch linux 
Shell :: comments in linux 
Shell :: To set up the apt repository for stable nginx packages, run the following command: 
Shell :: The current Numpy installation fails to pass a sanity check due to a bug in the windows runtime 
Shell :: loggy.sh android 
Shell :: how to edit file in termux 
Php :: php start session if not started 
Php :: composer update memory limit 
Php :: brew remove php 
Php :: php get directory 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =