perfsonar / archive

The perfSONAR Measurement Archive based on OpenSearch
Apache License 2.0
0 stars 1 forks source link

Reverse proxy with auth for logstash #5

Open arlake228 opened 2 years ago

arlake228 commented 2 years ago

I think we should move logstash behind a proxy that listens on 443 and add basic auth. We should be able to do the auth at the proxy layer, so logstash config can more or less be the same except it only needs to listen on localhost.

Steps to complete are something like follows:

This is important because we can't assume archive requests always happen on localhost. In pscheduler, the source of throughput tests always archives, meaning sometimes for reverse tests the remote end is sending the archive message back to the host.