Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TD Agent Large Logs with Syslog Source #3559

Closed
triptesh1212 opened this issue Nov 22, 2021 · 2 comments
Closed

TD Agent Large Logs with Syslog Source #3559

triptesh1212 opened this issue Nov 22, 2021 · 2 comments

Comments

@triptesh1212
Copy link

Describe the bug

Hi, I am using TD Agent with the following source configuration.

<source>
  @type syslog
  port 5140
  bind 0.0.0.0
  tag system
  message_length_limit 4096
  protocol_type tcp
  <parse>
    message_format auto
    keep_time_key true
  </parse>
</source>

If I send the log message of size ~ 8 kb, it still works.
Can anyone please help, How to configure the source so that log of larger size drops at the source ?

To Reproduce

Expected behavior

Your Environment

- TD Agent version: 4
- Operating system: Linux AWS ec2

Your Configuration

-

Your Error Log

-

Additional context

@kenhys
Copy link
Contributor

kenhys commented Dec 7, 2021

Maybe using filter plugin might help.
(For example, count message length by record_transforme filter and filter longer message by grep filter and so on)

This is not user forum, please use https://discuss.fluentd.org/c/fluentd-help/5

@kenhys
Copy link
Contributor

kenhys commented Dec 17, 2021

It seems that it is neither a bug nor a feature request. I'll close this issue.

@kenhys kenhys closed this as completed Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants