# Logstash elasticsearch filter plugin not working with proxy

**URL:** <https://discuss.elastic.co/t/logstash-elasticsearch-filter-plugin-not-working-with-proxy/130994>\
**Category:** Logstash\
**Created:** [May 8, 2018, 11:51am UTC](https://discuss.elastic.co/t/logstash-elasticsearch-filter-plugin-not-working-with-proxy/130994 "2018-05-08T11:51:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kostja79](https://avatars.discourse-cdn.com/v4/letter/k/3ec8ea/32.png) [@kostja79](https://discuss.elastic.co/u/kostja79)\
**Post date:** [May 8, 2018, 11:51am UTC](https://discuss.elastic.co/t/logstash-elasticsearch-filter-plugin-not-working-with-proxy/130994/1 "2018-05-08T11:51:22Z")

</div>

Hi,  
I'm using the elasticsearch filter plugin to query an Elasticsearch instance installed in the same server:  
elasticsearch {  
query\_template =\> "..."  
hosts =\> ["localhost:9200"]  
index =\> "..."  
}

The proxy is configured with no-proxy settings for local addresses:  
`no_proxy=localhost, 127.0.0.1`

However the elasticsearch filter plugin ignores this configuration and uses the proxy to connect to ES. How can I solve this issue?

---

<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 5, 2018, 11:51am UTC](https://discuss.elastic.co/t/logstash-elasticsearch-filter-plugin-not-working-with-proxy/130994/2 "2018-06-05T11:51:23Z")

</div>

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