Answers: <p>I recommend looking into using <a href="https://github.com/grafana/grafana" rel="nofollow noreferrer">Grafana</a>, <a href="https://github.com/grafana/loki" rel="nofollow noreferrer">Loki, and Promtail</a> on-premises. Because they are implemented in Go, cross-compiling to run in Windows is possible. For the past several years, I have been extremely pleased using Grafana in private, on-prem settings disconnected from external world.</p>
  <p>Additionally, consider time series database systems for metrics. In your case, <a href="https://github.com/influxdata/influxdb" rel="nofollow noreferrer">InfluxDB</a> might be a more suitable choice than <a href="https://github.com/prometheus/prometheus" rel="nofollow noreferrer">Prometheus</a> because of push vs pull models.</p>
  <p>Check out shared <a href="https://grafana.com/grafana/dashboards/?pg=docs-grafana-latest-dashboards" rel="nofollow noreferrer">dashboards</a> you can download and install.</p>
  
Answers: CC BY-SA 4.0
Answers: 2023-12-04T09:17:35.603Z
Answers: Thank you. I didn't know Loki. The setup seems feasible.
Answers: ssindelar
Answers: CC BY-SA 4.0
Answers: 2023-11-22T03:39:12.050Z
Answers: 2023-11-22T03:39:12.050Z
Answers: mikequentel
Body: <p>We are thinking about setting up a solution for aggregating logs and metrics from multiple modules accross different servers. The problem is that it needs to run in a hospital and the logs may contain patient data when we debug a problem. So all external solutions are not possible. Also it needs to run as a windows service, as hospitals here usually only use Windows.</p>
  <p>The modules are a normal Spring Boot application. The modules can connect to central server but not the other way around, so it needs to push the data to a central server.</p>
  <p>Any suggestions?</p>
  
Tags: <monitoring><java>
Title: How to aggregate logs and metrics from multiple modules accross different servers?
UserDisplayName: ssindelar
ThreadText: # How to aggregate logs and metrics from multiple modules accross different servers?
  
  (Asked by: username_0 on 2023-11-20)
  
  We are thinking about setting up a solution for aggregating logs and metrics from multiple modules accross different servers. The problem is that it needs to run in a hospital and the logs may contain patient data when we debug a problem. So all external solutions are not possible. Also it needs to run as a windows service, as hospitals here usually only use Windows.
  
  The modules are a normal Spring Boot application. The modules can connect to central server but not the other way around, so it needs to push the data to a central server.
  
  Any suggestions?
  
  **Tags:** monitoring, java
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-11-22. Score: 1 | Accepted answer
  
  I recommend looking into using [Grafana](https://github.com/grafana/grafana), [Loki, and Promtail](https://github.com/grafana/loki) on-premises. Because they are implemented in Go, cross-compiling to run in Windows is possible. For the past several years, I have been extremely pleased using Grafana in private, on-prem settings disconnected from external world.
  
  Additionally, consider time series database systems for metrics. In your case, [InfluxDB](https://github.com/influxdata/influxdb) might be a more suitable choice than [Prometheus](https://github.com/prometheus/prometheus) because of push vs pull models.
  
  Check out shared [dashboards](https://grafana.com/grafana/dashboards/?pg=docs-grafana-latest-dashboards) you can download and install.
  
  > **Comments:**
  > **username_0**: Thank you. I didn't know Loki. The setup seems feasible.  
  
  ---
  
  