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

Appender for logDNA? #4

Open
mbacou opened this issue Mar 12, 2020 · 3 comments
Open

Appender for logDNA? #4

mbacou opened this issue Mar 12, 2020 · 3 comments

Comments

@mbacou
Copy link

mbacou commented Mar 12, 2020

Hi,
I'm just parking this feature request here in case others might be interested as well. Our shop is moving from Postgres to using LogDNA.com (https://logdna.com/) for distributed application logging. There's an existing Python client for LogDNA (https://github.com/logdna/python), but nothing equivalent on CRAN yet.

Would seem a good fit for either lgr or @daroczig's logger?

@daroczig
Copy link

I'm not sure about LogDNA's interface, but if they provide an API to push the log records, it should be trivial to add to either packages, I think. See eg the pushbullet, slack or kinesis appenders at https://github.com/daroczig/logger/blob/master/R/appenders.R

@mbacou
Copy link
Author

mbacou commented Mar 14, 2020

Thx, yes realize it's a straightforward implementation. Also looks like LogDNA can ingest log events via TCP through an rsyslog template (https://docs.logdna.com/docs/rsyslog), probably even easier to distribute R logs that way. fyi

@mbacou mbacou closed this as completed Mar 14, 2020
@s-fleck
Copy link
Owner

s-fleck commented Mar 14, 2020

cool that this works via rsyslog, but it seems logDNA has a Web-API an appenders should be pretty easy to implement via HTTR (probably easier than configuring rsyslog for this). I might look into adding a more generic rest api appenders to lgrExtra.

@s-fleck s-fleck reopened this Mar 14, 2020
@s-fleck s-fleck transferred this issue from s-fleck/lgr Dec 11, 2020
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

3 participants