How to write to the same datastream from MetricBeat and Logstash

I'm writing metricbeat data from several computes to my elasticsearch.
Some metricbeats are writing directly to ElasicSearch and some through logstash.
The data from the metricbeat is written to a datastream named .ds-metricbeat-8.7.1-2023.11.20-000004
2023.11.20 was two days ago and I'm not sure when I'll get a new datastream
I was trying to get Logstash to write to the same datastream as metricbeat
How do I make Logstash do that.
The closest I got was .ds-metrics-metricbeat-8.7.1-2023.11.22-000001

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.