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

Transparent format with transparentFormatRemoveHeader enabled not working as expected #45

Open
Shorty110 opened this issue Mar 24, 2021 · 1 comment

Comments

@Shorty110
Copy link

Hi,

in reference to issue #27, the transparent output does not seem to work as expected. I have configured the message format as "transparent" and enabled "Remove Header" but the output appends the graylog hostname to the message. I test with a syslog input and the test command "echo "<86>_sourcehost_ messagetext86" | nc -v -w 0 localhost 1514" from the readme.
The message is ingested correctly:
image

The output sends this:
<14>Mar 24 11:02:12 <graylog_fqdn> _sourcehost_ messagetext86
but I would like it to be:
<14>Mar 24 11:02:12 _sourcehost_ messagetext86

I'm using graylog 2.5.1 and tried version 3.3.0 and 2.5.1 of the output plugin.

Can you please advise? Thank you.

@huksley
Copy link
Member

huksley commented Jun 5, 2021

Apologies for a delay.
Not sure what is the expectations you are having.

As far as I understand, when syslog-ng or whatever, receives message over syslog TCP/UPD they mark it as coming from graylog server (i.e. source)

So probably this need to be configured on syslog-ng side.
If you solved this problem, please share the solution, thanks!

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