fields aggregate during db insertion #4708
adelbordbari
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! i'm facing an issue with my incoming syslog have this fluent.conf:
i basically have a stream of logs incoming on 514 udp port with syslog. i want to parse two separate facilities differently, and insert the results into two different tables.
i have different sets of fields for each log (since they're, different!)
i check the logs with the code below, and they're fine, as expected
my problem is that after insertion into db, both tables have ALL of the fields! with null values. for example i have p2,p3,p4,p5,p6,p7,p8 fields only for my firewall (local0 facility) logs but my IDS table also has them in db.
i run fluentd and clickhouse (db) as docker-compose services. i also use a custom output plugin (that used to work fine, as claimed by the previous dev)
this is my output plugin just in case:
this is an example of what i see in stdout (which is what i expect):
Beta Was this translation helpful? Give feedback.
All reactions