# Filebeat setup issues on PC

**URL:** <https://discuss.elastic.co/t/filebeat-setup-issues-on-pc/355248>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 12, 2024, 4:49pm UTC](https://discuss.elastic.co/t/filebeat-setup-issues-on-pc/355248 "2024-03-12T16:49:28Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [March 13, 2024, 2:22pm UTC](https://discuss.elastic.co/t/filebeat-setup-issues-on-pc/355248/9 "2024-03-13T14:22:59Z")

</div>

So that means you are not set up correctly with either the cloud.id or cloud.auth

Exactly How / where did you create the API Key ... there are 2 different places...

Perhaps check here

> [@ApiError AuthenticationException even correct API Key is provided](https://discuss.elastic.co/t/apierror-authenticationexception-even-correct-api-key-is-provided/353121/2):
>
> Hi @tfulanchan Welcome to the community. Kinda a common mistake when getting started. That creates An API Key for using The ESS / Elastic Cloud API to create and modify whole clusters. Etc. To work within an Elasticsearch cluster...I.e the REST API to load data and work inside an Elasticsearch cluster Go to Kibana - Stack Management - API Keys Make sure you get the correct format for the REST API

---

_[View the full topic](https://discuss.elastic.co/t/filebeat-setup-issues-on-pc/355248)._
