# Analytics on self-hosted instance

**URL:** <https://discuss.elastic.co/t/analytics-on-self-hosted-instance/205641>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [October 29, 2019, 10:30am UTC](https://discuss.elastic.co/t/analytics-on-self-hosted-instance/205641 "2019-10-29T10:30:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![p\_ban](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@p\_ban](https://discuss.elastic.co/u/p_ban)\
**Post date:** [October 29, 2019, 10:30am UTC](https://discuss.elastic.co/t/analytics-on-self-hosted-instance/205641/1 "2019-10-29T10:30:03Z")

</div>

Hello,

How can I start using Analytics with self-hosted App Search instance (the tab has no data, everything is 0)? I am performing search requests using php client with private-key. Do I need to add something to my requests?

---

<div class="post-metadata">

**Author:** ![orhantoy](https://avatars.discourse-cdn.com/v4/letter/o/c5a1d2/32.png) [@orhantoy](https://discuss.elastic.co/u/orhantoy)\
**Post date:** [October 29, 2019, 10:43am UTC](https://discuss.elastic.co/t/analytics-on-self-hosted-instance/205641/2 "2019-10-29T10:43:26Z")

</div>

Hi @p_ban 👋

Are you seeing requests on the API Logs page? If not, my guess is that you aren't running the Filebeat process.

---

<div class="post-metadata">

**Author:** ![p\_ban](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@p\_ban](https://discuss.elastic.co/u/p_ban)\
**Post date:** [October 29, 2019, 11:05am UTC](https://discuss.elastic.co/t/analytics-on-self-hosted-instance/205641/3 "2019-10-29T11:05:50Z")

</div>

There are no results on API Logs. I have configure my instance following the documentation (Run App Search as a Systemd Service). The service I have created is running. Can I check if it is running in any other way?

---

<div class="post-metadata">

**Author:** ![orhantoy](https://avatars.discourse-cdn.com/v4/letter/o/c5a1d2/32.png) [@orhantoy](https://discuss.elastic.co/u/orhantoy)\
**Post date:** [October 29, 2019, 11:19am UTC](https://discuss.elastic.co/t/analytics-on-self-hosted-instance/205641/4 "2019-10-29T11:19:18Z")

</div>

So you have followed [these docs](https://swiftype.com/documentation/app-search/self-managed/installation#systemd) and set up the 3 child services (app server, worker and filebeat)?

---

<div class="post-metadata">

**Author:** ![p\_ban](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@p\_ban](https://discuss.elastic.co/u/p_ban)\
**Post date:** [October 29, 2019, 11:22am UTC](https://discuss.elastic.co/t/analytics-on-self-hosted-instance/205641/5 "2019-10-29T11:22:40Z")

</div>

Yes, starting the service with  
`sudo systemctl start app-search`

---

<div class="post-metadata">

**Author:** ![p\_ban](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@p\_ban](https://discuss.elastic.co/u/p_ban)\
**Post date:** [November 6, 2019, 1:35pm UTC](https://discuss.elastic.co/t/analytics-on-self-hosted-instance/205641/6 "2019-11-06T13:35:34Z")

</div>

I have noticed that Filebeat service version is 7.1.0. App-Search and Elasticsearch both use 7.3.1. Could that be the problem?

---

<div class="post-metadata">

**Author:** ![tuyndv](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tuyndv/32/44413_2.png) [@tuyndv](https://discuss.elastic.co/u/tuyndv)\
**Post date:** [November 7, 2019, 1:06pm UTC](https://discuss.elastic.co/t/analytics-on-self-hosted-instance/205641/7 "2019-11-07T13:06:11Z")

</div>

I also had the same problem with version AppSearch 7.4.2

---

<div class="post-metadata">

**Author:** ![tuyndv](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tuyndv/32/44413_2.png) [@tuyndv](https://discuss.elastic.co/u/tuyndv)\
**Post date:** [November 9, 2019, 6:59am UTC](https://discuss.elastic.co/t/analytics-on-self-hosted-instance/205641/8 "2019-11-09T06:59:35Z")

</div>

Dear,

Current, i'm using last version ELK + AppSearch : 7.4.2  
=\> appsearch get the error : There are no results on API Logs.

So, I'm only downgrade AppSearch 7.4.2 =\> 7.4.0 =\> working

Thanks

---

<div class="post-metadata">

**Author:** ![p\_ban](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@p\_ban](https://discuss.elastic.co/u/p_ban)\
**Post date:** [November 12, 2019, 7:50am UTC](https://discuss.elastic.co/t/analytics-on-self-hosted-instance/205641/9 "2019-11-12T07:50:41Z")

</div>

Thank you for the tip. Will try that in my 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 10, 2019, 7:50am UTC](https://discuss.elastic.co/t/analytics-on-self-hosted-instance/205641/10 "2019-12-10T07:50:45Z")

</div>

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