# "key=" for entering server?

**URL:** <https://discuss.elastic.co/t/key-for-entering-server/122125>\
**Category:** Elasticsearch\
**Created:** [March 1, 2018, 4:59pm UTC](https://discuss.elastic.co/t/key-for-entering-server/122125 "2018-03-01T16:59:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmgarcia](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jmgarcia](https://discuss.elastic.co/u/jmgarcia)\
**Post date:** [March 1, 2018, 4:59pm UTC](https://discuss.elastic.co/t/key-for-entering-server/122125/1 "2018-03-01T16:59:17Z")

</div>

Hey fellas,

I am finally getting all of this put together and I am running into issues, For some reason we dont have usernames setup but only a key that is given out. I have this key and I am unsure how to properly apply it. My current error(s) are this:

With key:

> {"error":{"root\_cause":[{"type":"illegal\_argument\_exception","reason":"request [/bank/logstash-_/\_search] contains unrecognized parameters: [category], [key]"}],"type":"illegal\_argument\_exception","reason":"request [/bank/logstash-_/\_search] contains unrecognized parameters: [category], [key]"},"status":400}`

Without:

> {"error":{"root\_cause":[{"type":"security\_exception","reason":"action [indices:data/read/search] is unauthorized for user [anonymous\_user]"}],"type":"security\_exception","reason":"action [indices:data/read/search] is unauthorized for user [anonymous\_user]"},"status":403}

In addition to that, I am unsure if I am even searching ALL of logstash (the logstash-\*) correctly.

---

<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:** [March 29, 2018, 4:59pm UTC](https://discuss.elastic.co/t/key-for-entering-server/122125/2 "2018-03-29T16:59:41Z")

</div>

Closed on March 29, 2018, 4:59pm UTC

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