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>
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.
Copy link to clipboard
Copied
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