# Salesforce Integration in Elastic

**URL:** <https://discuss.elastic.co/t/salesforce-integration-in-elastic/314961>\
**Category:** Elastic Search\
**Tags:** elastic-workplace-search\
**Created:** [September 22, 2022, 3:44pm UTC](https://discuss.elastic.co/t/salesforce-integration-in-elastic/314961 "2022-09-22T15:44:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sakib3833](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sakib3833](https://discuss.elastic.co/u/sakib3833)\
**Post date:** [September 22, 2022, 3:44pm UTC](https://discuss.elastic.co/t/salesforce-integration-in-elastic/314961/1 "2022-09-22T15:44:33Z")

</div>

I've connected Salesforce to Workplace Search source with proper authentication.  
I also get content items in Source overview section.  
I am wondering how I can visualize Salesforce data in Kibana like other integration. I wouldn't be able to get any salesforce related data in Discover section.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/6/56633a43a7ddebf1d6958101ad4daffcf6bd3ab3.png)

---

<div class="post-metadata">

**Author:** ![ross.bell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ross.bell/32/77559_2.png) [@ross.bell](https://discuss.elastic.co/u/ross.bell)\
**Post date:** [September 23, 2022, 1:21am UTC](https://discuss.elastic.co/t/salesforce-integration-in-elastic/314961/2 "2022-09-23T01:21:06Z")

</div>

Hey Sakib,

What version of Enterprise Search are you running? If you look for hidden indices named with a `.ent-search-` prefix, I bet you'll see an index in there with a document count matching what your Salesforce content source shows. This relies on your logged in Kibana user having read access to that index pattern.

I hope that helps!

Ross

---

<div class="post-metadata">

**Author:** ![sakib3833](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sakib3833](https://discuss.elastic.co/u/sakib3833)\
**Post date:** [September 23, 2022, 3:33pm UTC](https://discuss.elastic.co/t/salesforce-integration-in-elastic/314961/3 "2022-09-23T15:33:44Z")

</div>

Hello Ross,

Thank you for your valuable answer.  
Currently we are running Enterprise Search 8.2.3.  
I've searched indices with a `.ent-search-` prefix, but couldn't find any fields.

As I created an index based on salesforce fields in elastic, it shows some empty fields in dashboard.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/4/8418629daba95e09b4172675f49f6bc7f3f403be.png)

The logstream shows some salesforce events coming.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/b/ab78655f76d2f0971d3e065e0cf57a45c6371023.png)  
And the Kibana user has admin and superuser access.

I've followed the following document also to create dashboard for workplace search. But unfortunately not getting any data based on `.ent-search-` prefix.

> **[Analyzing Elastic Workplace Search usage in a Kibana dashboard](https://www.elastic.co/blog/analyzing-elastic-workplace-search-usage-kibana-dashboard)**
>
> In Elastic Workplace Search, find out what your users are searching for, what links they're actually clicking on, and which searches are falling short. Create rich visualizations on your search usage, behaviors, and patterns across all your content...

Hoping for your valuable suggestions. Thanks

Sakib

---

<div class="post-metadata">

**Author:** ![ross.bell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ross.bell/32/77559_2.png) [@ross.bell](https://discuss.elastic.co/u/ross.bell)\
**Post date:** [September 23, 2022, 9:19pm UTC](https://discuss.elastic.co/t/salesforce-integration-in-elastic/314961/4 "2022-09-23T21:19:57Z")

</div>

Hey Sakib,

I'm pretty sure the index you're looking for should have a prefix of `.ent-search-engine-documents-`. Try heading over to  
[Index Management](https://www.elastic.co/guide/en/elasticsearch/reference/8.2/index-mgmt.html) and finding it there. You'll need to toggle `Include hidden indices`.

The index may also have an alias with a prefix of `enterprise-search-engine-`, which you might want to try in Discover in case you're running into trouble from the actual index name starting with a `.`.

Finally, you linked to a blog post about analyzing search usage. I'll note that this analyzes data around search activity, not the contents in your documents index directly.

I hope that helps!

Ross

---

<div class="post-metadata">

**Author:** ![sakib3833](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sakib3833](https://discuss.elastic.co/u/sakib3833)\
**Post date:** [September 28, 2022, 6:08pm UTC](https://discuss.elastic.co/t/salesforce-integration-in-elastic/314961/5 "2022-09-28T18:08:01Z")

</div>

Thank you Ross for your valuable information. I got the index by toggling hidden indices.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/0/90ae37eb005fcc95719e29bcc43dc51145abc941.png)

But the issue is I cannot get any of the data related to salesforce or ent-search in discover/dashboard section.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/9/f9188cb901601a27dda192d45b36cb3fbcbb037d.png)

I understand the documents are pulling from salesforce, but I am not able to visualize it in Discover/Dashboard.

Is there any way I can do it?

Thanks

Sakib

---

<div class="post-metadata">

**Author:** ![ross.bell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ross.bell/32/77559_2.png) [@ross.bell](https://discuss.elastic.co/u/ross.bell)\
**Post date:** [September 28, 2022, 6:42pm UTC](https://discuss.elastic.co/t/salesforce-integration-in-elastic/314961/6 "2022-09-28T18:42:51Z")

</div>

I'm noticing your time range in the screenshot is last 15 minutes. What if you expand that?

---

<div class="post-metadata">

**Author:** ![sakib3833](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sakib3833](https://discuss.elastic.co/u/sakib3833)\
**Post date:** [September 29, 2022, 1:51pm UTC](https://discuss.elastic.co/t/salesforce-integration-in-elastic/314961/7 "2022-09-29T13:51:17Z")

</div>

Same for 30 days as well.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/c/1c61a85c5cd3f5ece449cb406a71e7349051ca87.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/2/9299881d18852a81693009ba214970fb2d5dd779.png)

---

<div class="post-metadata">

**Author:** ![ross.bell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ross.bell/32/77559_2.png) [@ross.bell](https://discuss.elastic.co/u/ross.bell)\
**Post date:** [September 29, 2022, 4:00pm UTC](https://discuss.elastic.co/t/salesforce-integration-in-elastic/314961/8 "2022-09-29T16:00:39Z")

</div>

We've confirmed the index you're expecting to exist is there, and that it has the correct amount of documents that correspond with your Salesforce data. I think you're just running into an issue with exposing that index's documents in Discover. You may want to start here: [Discover | Kibana Guide [8.4] | Elastic](https://www.elastic.co/guide/en/kibana/current/discover.html#find-the-data-you-want-to-use).

---

<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:** [October 31, 2022, 2:48am UTC](https://discuss.elastic.co/t/salesforce-integration-in-elastic/314961/9 "2022-10-31T02:48:07Z")

</div>

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