# Logstash pipeline with Elasticsearch on Openshift

**URL:** <https://discuss.elastic.co/t/logstash-pipeline-with-elasticsearch-on-openshift/200842>\
**Category:** Logstash\
**Created:** [September 24, 2019, 10:49am UTC](https://discuss.elastic.co/t/logstash-pipeline-with-elasticsearch-on-openshift/200842 "2019-09-24T10:49:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShahafSW](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@ShahafSW](https://discuss.elastic.co/u/ShahafSW)\
**Post date:** [September 24, 2019, 10:49am UTC](https://discuss.elastic.co/t/logstash-pipeline-with-elasticsearch-on-openshift/200842/1 "2019-09-24T10:49:03Z")

</div>

Hey everyone,

Usually, I am using curl command to elasticsearch with the following flags:

> curl --key /PATH/admin-key --cert /PATH/admin-cert --cacert /PATH/admin-ca -XGET "[https://ROUTE](https://ROUTE):PORT"

This curl command works fine for me but I am not sure how to translate those flags (--key, --cert, --cacert) to my pipeline.

My pipeline looks like this

> input {  
> elasticsearch {  
> hosts =\> "ELASTIC\_ROUTE"  
> ca\_file =\> "LOCAL\_PATH\_TO\_CA\_FILE"  
> index =\> "\*"  
> docinfo =\> true  
> size =\> 10000  
> }  
> }

But I am getting authentication failed, I am pretty sure that I am missing something but can't find out what exactly.

Any information on the subject will help.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [September 24, 2019, 2:07pm UTC](https://discuss.elastic.co/t/logstash-pipeline-with-elasticsearch-on-openshift/200842/2 "2019-09-24T14:07:19Z")

</div>

If you want to present a client certificate you would use the keystore and keystore\_password options.

---

<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:** [October 22, 2019, 2:07pm UTC](https://discuss.elastic.co/t/logstash-pipeline-with-elasticsearch-on-openshift/200842/3 "2019-10-22T14:07:26Z")

</div>

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