How to filter data in manage outputs before sending to cloud graylog server

Yes definitely this option will help me to forward certain data to another graylog server through manage outputs.
@jan
I thought of using elasticsearch query to filter the data first and send the data to another graylog server either through manage output or someother way. Not sure whether this is the right approach to do…
let me know your thoughts and it will be helpful.

Let’s say I am getting metricbeats data to graylog and I want to send certain data to influxdb through graylog will that be possible?
I found this output plugin for sending data to Graphite through graylog

Regards,
Ganeshbabu R