Skip to content

Reading logs from a several servers #270

Discussion options

You must be logged in to vote

Hey Andrii; the exporter is not designed to scrape metrics from different servers. If you want to aggregate metrics from multiple servers, the generally accepted architecture for this in the Prometheus ecosystem is to have an exporter running on each server and have them scraped by a single, central Prometheus instance. Prometheus will store each of those as a separate time series (typically differentiated by a job label), but you can easily aggregate using PromQL aggregation functions.

If you really want, the syslog approach might work, although untested. You can configure the listen address with the .namespaces[*].source.syslog.listen_address property. However, you'd probably need to fi…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@andrii-bodnar
Comment options

@bs-amitmahajan29
Comment options

@andrii-bodnar
Comment options

Answer selected by andrii-bodnar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #268 on July 31, 2022 19:15.