I want to setup the environment similar to this:
but to use GCP PubSub instead of Kafka.
I know, that Filebeat does not have a PubSub output.
What is the easiest way to achieve this? I know, that Logstash can be used to get data from Filebeat and push it to PubSub. But installing and configuring a Logstash instance on each server from which I want to gather logs seems like overkill.
Any ideas on how to achieve it?