# Problem with metricbeat and xpack

**URL:** <https://discuss.elastic.co/t/problem-with-metricbeat-and-xpack/77855>\
**Category:** Elasticsearch\
**Created:** [March 8, 2017, 5:00pm UTC](https://discuss.elastic.co/t/problem-with-metricbeat-and-xpack/77855 "2017-03-08T17:00:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![olorasde](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/olorasde/32/40103_2.png) [@olorasde](https://discuss.elastic.co/u/olorasde)\
**Post date:** [March 8, 2017, 5:00pm UTC](https://discuss.elastic.co/t/problem-with-metricbeat-and-xpack/77855/1 "2017-03-08T17:00:38Z")

</div>

I have the following problem, after installing X-pack, I would like my metricbeat agents that I have collecting data from other servers can send these to the EL cluster that I have mounted.

The installation of X-pack that I have, is linked to an active directory, in principle without problems.

I have several groups mapped in AD and in Xpack and the users that belong to them access the contents that have been authorized by x-pack.

Now, for the metricbebat agents, in AD only we have created a user, not a group and I see no way to give this user access to the cluster without this one not in an AD group.

Is it possible, through X-pack configuration, to authorize a discrete user who does not belong to a specific AD group to perform data in an EL cluster?

regards,

---

<div class="post-metadata">

**Author:** ![skearns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skearns/32/125945_2.png) [@skearns](https://discuss.elastic.co/u/skearns)\
**Post date:** [March 12, 2017, 4:38pm UTC](https://discuss.elastic.co/t/problem-with-metricbeat-and-xpack/77855/2 "2017-03-12T16:38:30Z")

</div>

Hi Oscar,

Yes, you can create "native" users or use PKI/certificate-based auth alongside your AD realm.

You can read about the native realm here[1] and our authentication options more generally here[2]

[1] [https://www.elastic.co/guide/en/x-pack/current/native-realm.html](https://www.elastic.co/guide/en/x-pack/current/native-realm.html)  
[2] [https://www.elastic.co/guide/en/x-pack/current/setting-up-authentication.html](https://www.elastic.co/guide/en/x-pack/current/setting-up-authentication.html)

Thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![olorasde](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/olorasde/32/40103_2.png) [@olorasde](https://discuss.elastic.co/u/olorasde)\
**Post date:** [March 16, 2017, 2:23pm UTC](https://discuss.elastic.co/t/problem-with-metricbeat-and-xpack/77855/3 "2017-03-16T14:23:03Z")

</div>

Thx for your answer!

---

<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:** [April 13, 2017, 2:23pm UTC](https://discuss.elastic.co/t/problem-with-metricbeat-and-xpack/77855/4 "2017-04-13T14:23:19Z")

</div>

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