Open nehsharmMS opened 4 years ago
Please use the copy output plugin to write the input data to a file and share it with me. https://docs.fluentd.org/output/copy
<match>
@type copy
<store>
@type file
....
</store>
<store>
@type mdsd
...
</store>
</match>
@canfikret , as per our discussion and suspicion, I checked and noticed few new events started coming from syslog for which sources were not defined in mdsd.xml which must have resulted in the error ACK_INVALID_SOURCE that I had mentioned. But the problem is there are so many different events but I am not interested in all of them. Also, I don't have extensive list of all possible events from the source. But it seems if any tag that is coming from source is matched by a pattern specified in <match>
, it has to be specified in mdsd.xml. Any suggestions on how can I deal with this problem?
Also, I tried <match>
with multiple tags pattern on a new setup, it worked. Seems like a reliability issue.
I have two sources i.e. syslog and http. and I want both of these logs to be outputted to mdsd. I tried multiple options to make it work but even if it works in some cases, there is flood of logs in /var/log/td-agent/td-agent.log :
Options tried :
<match>
without any tag : this works but logs flood with ACK_INVALID_SOURCE<match {gheslog.**,ifx.**}>
: does not work<match ifx.**> and <match gheslog.**>
: works but logs flood with ACK_INVALID_SOURCEBelow is my fluentd conf :
PS : If I just use single
<match >
with any of these two tags i.e. sending only one source data to mdsd, it works perfectly without any error message.