Messages truncated

Hello Folks:

I have filebeat configured to send the wildfly logs to logstash. They're coming in but I see that the messages themselves, are being truncated. So far the index is using default mapping. I set the truncate:maxHeight to zero so that I can see the whole message, but it only shows a small portion.

This is the filebeat.yml file:


  • input_type: log
    - /var/log/wildfly/server.log
    document_type: sandbox

hosts: [""]

This is the output file in logstash:
output {
elasticsearch {
hosts => ["localhost:9200"]
sniffing => true
manage_template => false
index => "%{[@metadata][type]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"

What's the optimal approach to capturing the entire logs, stack trace and all?? Please advise.


Please reformat your post, it's difficult to read :slight_smile:

should look better now :slight_smile:

I found the answer already.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.