# Filebeat Setup error: error loading index pattern: returned 408 to import file

**URL:** <https://discuss.elastic.co/t/filebeat-setup-error-error-loading-index-pattern-returned-408-to-import-file/254855>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 10, 2020, 7:08am UTC](https://discuss.elastic.co/t/filebeat-setup-error-error-loading-index-pattern-returned-408-to-import-file/254855 "2020-11-10T07:08:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaydeepk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaydeepk/32/78722_2.png) [@jaydeepk](https://discuss.elastic.co/u/jaydeepk)\
**Post date:** [November 10, 2020, 7:08am UTC](https://discuss.elastic.co/t/filebeat-setup-error-error-loading-index-pattern-returned-408-to-import-file/254855/1 "2020-11-10T07:08:38Z")

</div>

Hi  
I'm currently using a 14-day free trial of elastic cloud.  
I was trying to get my local apache logs shipped to the hosted elastic cluster.  
So I decided to setup a Filebeat on my local machine ( Mac OS Catalina) according to the steps described in the apache logs tutorial at:

```auto
<kibana url>/app/home#/tutorial/apacheLogs

```

When I run ./filebeat setup, it throws this error:

```auto
./filebeat setup
Index setup finished.
Loading dashboards (Kibana must be running and reachable)
Exiting: 1 error: error loading index pattern: returned 408 to import file: <nil>. Response: {"statusCode":408,"error":"Request Time-out","message":"Request Time-out"}

```

The hosted kibana dashboard url is accessible from my local machine.  
Any ideas on what am I doing wrong?

Thanks  
Jaydeep

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [November 10, 2020, 7:56am UTC](https://discuss.elastic.co/t/filebeat-setup-error-error-loading-index-pattern-returned-408-to-import-file/254855/2 "2020-11-10T07:56:48Z")

</div>

It's definitely not an issue with Beats or Kibana code. I suspect it's related with your cluster setup. Is there any proxy server between both ends that may cut the stream due to a timeout? Loading dashboards into Kibana is a quite long operation.

---

<div class="post-metadata">

**Author:** ![jaydeepk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaydeepk/32/78722_2.png) [@jaydeepk](https://discuss.elastic.co/u/jaydeepk)\
**Post date:** [November 10, 2020, 8:03am UTC](https://discuss.elastic.co/t/filebeat-setup-error-error-loading-index-pattern-returned-408-to-import-file/254855/3 "2020-11-10T08:03:20Z")

</div>

Thanks @mtojek for your prompt response.  
There is no proxy server between my local machine and the elastic cloud cluster.

---

<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:** [December 8, 2020, 10:03am UTC](https://discuss.elastic.co/t/filebeat-setup-error-error-loading-index-pattern-returned-408-to-import-file/254855/4 "2020-12-08T10:03:24Z")

</div>

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