# Logtash with saml

**URL:** <https://discuss.elastic.co/t/logtash-with-saml/333131>\
**Category:** Logstash\
**Created:** [May 10, 2023, 9:21pm UTC](https://discuss.elastic.co/t/logtash-with-saml/333131 "2023-05-10T21:21:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pablo\_Crosio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pablo_crosio/32/120892_2.png) [@Pablo\_Crosio](https://discuss.elastic.co/u/Pablo_Crosio)\
**Post date:** [May 10, 2023, 9:21pm UTC](https://discuss.elastic.co/t/logtash-with-saml/333131/1 "2023-05-10T21:21:19Z")

</div>

Is it possible to connect with Logtash to OpenSearch using SAML authentication?  
We are able to integrate with SAML and Azure AD to log in to dashboards but we are unable to connect Logtash to OpenSearch with an Azure AD user.

---

<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:** [May 10, 2023, 9:21pm UTC](https://discuss.elastic.co/t/logtash-with-saml/333131/2 "2023-05-10T21:21:19Z")

</div>

OpenSearch/OpenDistro are AWS run products and differ from the original Elasticsearch and Kibana products that Elastic builds and maintains. You may need to contact them directly for further assistance.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [May 10, 2023, 9:22pm UTC](https://discuss.elastic.co/t/logtash-with-saml/333131/3 "2023-05-10T21:22:38Z")

</div>

Hi @Pablo_Crosio

In order to use logstash with opensearch you need to use the opensearch output plugin with logstash.

> **[GitHub - opensearch-project/logstash-output-opensearch: A Logstash plugin...](https://github.com/opensearch-project/logstash-output-opensearch)**
>
> A Logstash plugin that sends event data to a OpenSearch clusters and stores as an index. - GitHub - opensearch-project/logstash-output-opensearch: A Logstash plugin that sends event data to a OpenS...

In order to get guidance on that, you need to visit the opensearch community forum.

---

<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 7, 2023, 9:23pm UTC](https://discuss.elastic.co/t/logtash-with-saml/333131/4 "2023-06-07T21:23:15Z")

</div>

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