Skip to main content
Known Participant
February 29, 2024
Question

FluentD tail truncating log message

  • February 29, 2024
  • 2 replies
  • 402 views

I am using Fluend as a sidecar of a Coldfusion application in Azure AKS. I am facing issues with some log messages getting truncated.

I am using this docker image fluent/fluentd-kubernetes-daemonset:v1.16-debian-elasticsearch8-1.

FluentD configuration:

apiVersion: v1
kind: ConfigMap
metadata:
  name: fluentdconf
data:
  fluent.conf: |
    <source>
      @TyPe tail
      path /opt/coldfusion/cfusion/logs/*.log
      path_key tailed_path
      pos_file /var/app/file.log.pos
      tag aks.coldfusionlog
      max_line_size 50MB
      <parse>
        @TyPe none
      </parse>
    </source>
    <match aks.coldfusionlog>
      @TyPe stdout
    </match>
    This topic has been closed for replies.

    2 replies

    Community Expert
    March 24, 2024

    What happens if you increase the max line size? I think 50MB is pretty big, but that's an easy thing to change.

     

    Dave Watts, Eidolon LLC 

    Dave Watts, Eidolon LLC
    BKBK
    Community Expert
    Community Expert
    March 24, 2024

    Why do you think this is a ColdFusion issue? It doesn't sound like a ColdFusion issue to me. It sounds more like a FluentD configuration issue.