# Undefined method \`get' for

**URL:** <https://discuss.elastic.co/t/undefined-method-get-for/255214>\
**Category:** Logstash\
**Created:** [November 12, 2020, 1:13pm UTC](https://discuss.elastic.co/t/undefined-method-get-for/255214 "2020-11-12T13:13:59Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [November 12, 2020, 2:22pm UTC](https://discuss.elastic.co/t/undefined-method-get-for/255214/4 "2020-11-12T14:22:06Z")

</div>

I said `/etc/elasticsearch` because that was the most likely location. So now your pipeline is actually running.

Do you have [centralized pipeline enabled](https://www.elastic.co/guide/en/logstash/6.6/configuring-centralized-pipelines.html#configuring-centralized-pipelines)? If so I don't think you can run this via command line according to [this](https://discuss.elastic.co/t/logstash-problem-with-elasticsearch/111795/7).

---

_[View the full topic](https://discuss.elastic.co/t/undefined-method-get-for/255214)._
