# Sending all elasticsearch logs to a diode

**URL:** <https://discuss.elastic.co/t/sending-all-elasticsearch-logs-to-a-diode/334207>\
**Category:** Logstash\
**Created:** [May 24, 2023, 10:49am UTC](https://discuss.elastic.co/t/sending-all-elasticsearch-logs-to-a-diode/334207 "2023-05-24T10:49:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![willsy](https://avatars.discourse-cdn.com/v4/letter/w/f17d59/32.png) [@willsy](https://discuss.elastic.co/u/willsy)\
**Post date:** [May 24, 2023, 10:49am UTC](https://discuss.elastic.co/t/sending-all-elasticsearch-logs-to-a-diode/334207/1 "2023-05-24T10:49:57Z")

</div>

Hi there,

I am completing some dev work and trying to input all of the ingested elasticsearch data from my system, into logstash (on the same server as elasticsearch) and output this to a one way data diode to allow the concept of an air gapped environment.

Typically the diode allows http or tcp so i would assume i have to use the tcp output module or http output module.

i guess my question is, how? how do i ingest all of the data from elasticsearch and how do i output all of that data to the diode.

many thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 21, 2023, 10:50am UTC](https://discuss.elastic.co/t/sending-all-elasticsearch-logs-to-a-diode/334207/2 "2023-06-21T10:50:03Z")

</div>

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