-
Notifications
You must be signed in to change notification settings - Fork 1
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
More advanced use case #3
base: master
Are you sure you want to change the base?
Conversation
I use InfluxDB for visualisation purposes and most of access_log content is not needed - this example shows how to manage data manipulation. I hope it is useful for your audience.
I forgot to mention that timestamp in InfluxDB is being updated to real perfect time of the web service entry instead of timestamp of the submission by the module which is less relevant. |
Thanks for the contribution, happy to hear, that other people are using this. |
file_server | ||
log { | ||
import accesslog "example.com" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The import name does not mach the snippet name
``` | ||
[[inputs.http_listener_v2]] | ||
service_address = "10.99.99.99:7777" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider using 0.0.0.0
here to make it more clear, that it is a listening port
(influxlog) { | ||
output influx_log { | ||
token whatever_as_telegraf_does_not_verify_it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logging output format is missing here. Add format json
|
||
## telegraf.conf | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the toml
language here to add syntax highlighting
I use InfluxDB for visualisation purposes and most of access_log content is not needed - this example shows how to manage data manipulation.
I hope it is useful for your audience.