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

InfluxDB target, 'pretty' printed field #326

Open
btrepp opened this issue May 18, 2018 · 4 comments
Open

InfluxDB target, 'pretty' printed field #326

btrepp opened this issue May 18, 2018 · 4 comments

Comments

@btrepp
Copy link

btrepp commented May 18, 2018

It would be nice if the influxdb target had a field for the formatted log string. It sends the template string, and the fields, but it would be nice if there was a entry in the point that had them combined.

This would make it easier to read in tools like Grafana.

This may even apply to different targets aswell.

@haf
Copy link
Member

haf commented May 23, 2018

@btrepp This is a good idea. It's also a very easy thing to build and test; especially since a similar formatting is done for gauges in v5/master. I added the "help wanted" tag if someone wants to get into this.

@btrepp
Copy link
Author

btrepp commented May 24, 2018

I'm willing to give this a shot. Do you have any advice about where/how you would want this done?. It could be done on the logging domain objects, or I can focus it just on the influx target.

@baronfel
Copy link
Contributor

I think the formatted log string can be seen here in the Stackdriver target: https://github.com/logary/logary/blob/master/src/targets/Logary.Targets.Stackdriver/Target_Stackdriver.fs#L208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants