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

Proposal to make telegraf work as syslog, not just accept data from existing syslog. #4902

Closed
p-kraszewski opened this issue Oct 22, 2018 · 4 comments
Labels
area/syslog feature request Requests for new plugin and for new features to existing plugins platform/bsd waiting for response waiting for response from contributor

Comments

@p-kraszewski
Copy link
Contributor

p-kraszewski commented Oct 22, 2018

Proposal:

Make telegraf work as syslogd, not just accept data from existing syslogd.

I don't know if it was considered and abandoned (due to not enough workforce, problems with portability, lack of interest) or just nobody came with the idea.

I'd find it useful in my projects (FreeBSD & Linux) of embedded devices. Having telegraf directly pull messages from kernel/apps and push them further would make my designs simpler (no need to have a separate syslogd just short-circuiting data to telegraf).

I'm going to try programming it anyway (for FreeBSD first, then for Linux), but I wonder if there will be more public interest in it.

Blocked by #4593

@danielnelson
Copy link
Contributor

danielnelson commented Oct 22, 2018

This is something we are interested in. I believe there would be two parts to this, correct me if I'm wrong @leodido.

First, we need to add old style BSD syslog message support #4593. Second is just a matter of setting up the plugin correctly to listen at the desired socket and documenting how to do so.

@danielnelson danielnelson added feature request Requests for new plugin and for new features to existing plugins area/syslog labels Oct 22, 2018
@leodido
Copy link
Contributor

leodido commented Dec 4, 2018

It is a good idea and use case, for sure. No @danielnelson you are not wrong anyway :).

@powersj
Copy link
Contributor

powersj commented Feb 7, 2023

Hi,

It looks like the previous PR that was blocking this issue, #4593, was merged in. As a result a user can set up the plugin to listen on a local socket for the BSD style syslog messages.

I believe this resolves this request? Can someone confirm?

Thanks

@powersj powersj added the waiting for response waiting for response from contributor label Feb 7, 2023
@telegraf-tiger
Copy link
Contributor

Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/syslog feature request Requests for new plugin and for new features to existing plugins platform/bsd waiting for response waiting for response from contributor
Projects
None yet
Development

No branches or pull requests

5 participants