The short question is: Is it possible to pull logs (within logfiles) from a remote server and ingest them into the ELK stack.
The long story is the following:
- We have a setup with a
DMZ
which is publically facing - We have an
intranet
environment which hosts alot of internal systems, including the ELK stack - Due to security regulations we cannot establish connections (on IP level) from the
DMZ
towards theintranet
. - We can however establish connections from the
intranet
towards theDMZ
Due to this setup, we cannot follow the normal route of installing a Filebeat
on the server where the logs are stored and push the messages towards our logstash
installation.
What we would like to do is something that looks somewhat like the following:
- Filebeat or any other process gathers the logs on the server inside the
DMZ
- On this server there is some process (
Filebeat
,logstash
, anotherelasticsearch
instance?) which keeps those information in a local store - This tool (whatever it might be in the end) listens on a port which is available from the
intranet
- Another tool inside the
intranet
connects to theDMZ
tool and pulls all gathered logs for further processing.
Our investigations sofar only resulted in solutions which push the log information to either logstash
or elasticsearch
.
One thing we do not want to do is to use fileshares to make the logfiles available directly from the intranet
.
Our question is whether what we have in mind is possible at all and if so, what tools and with which setup we would accomplish this.