• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

FluentD tail truncating log message

Explorer ,
Feb 29, 2024 Feb 29, 2024

Copy link to clipboard

Copied

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>
Thanks,
Souvik

Views

179

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 24, 2024 Mar 24, 2024

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 24, 2024 Mar 24, 2024

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation