Update docker/fluentd/fluent.conf
This commit is contained in:
		
							parent
							
								
									758575e4b4
								
							
						
					
					
						commit
						f30c9e51b0
					
				| 
						 | 
				
			
			@ -14,14 +14,13 @@
 | 
			
		|||
  reserve_data true
 | 
			
		||||
  <parse>
 | 
			
		||||
    @type regexp
 | 
			
		||||
    expression /^(?=.*\b(SIGTERM|ERROR|FATAL|CRITICAL|exception|failed|failure)\b).+$/i
 | 
			
		||||
    expression /^(?<message>.*\b(SIGTERM|ERROR|FATAL|CRITICAL|exception|failed|failure)\b.*)$/i
 | 
			
		||||
  </parse>
 | 
			
		||||
</filter>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<match **>
 | 
			
		||||
  @type exec
 | 
			
		||||
  command "/go-glitch"
 | 
			
		||||
  command "/go-glitch '${record['message']}'"
 | 
			
		||||
  <buffer>
 | 
			
		||||
    flush_interval 10s
 | 
			
		||||
  </buffer>
 | 
			
		||||
| 
						 | 
				
			
			@ -29,4 +28,4 @@
 | 
			
		|||
    @type json
 | 
			
		||||
  </format>
 | 
			
		||||
  run_interval 10s
 | 
			
		||||
</match>
 | 
			
		||||
</match>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue