# Analysing active directory users and computers

**URL:** <https://discuss.elastic.co/t/analysing-active-directory-users-and-computers/252085>\
**Category:** Elasticsearch\
**Created:** [October 14, 2020, 5:30pm UTC](https://discuss.elastic.co/t/analysing-active-directory-users-and-computers/252085 "2020-10-14T17:30:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![carpetpants](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@carpetpants](https://discuss.elastic.co/u/carpetpants)\
**Post date:** [October 14, 2020, 5:30pm UTC](https://discuss.elastic.co/t/analysing-active-directory-users-and-computers/252085/1 "2020-10-14T17:30:57Z")

</div>

Hi There, I am looking to analyse active directory users and computers in elastic and wondered if anyone has done this before and able to offer some guidance.

What I am looking to achieve is report on the total number of users, enabled/disabled users, users with password set to never expire etc.

I thought about using powershell to export the information and ingest it into log stash using the import date as the index. I would then pull a dashboard together to give near realtime status on these metrics.

Any help appreciated.

---

<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:** [November 11, 2020, 5:30pm UTC](https://discuss.elastic.co/t/analysing-active-directory-users-and-computers/252085/2 "2020-11-11T17:30:59Z")

</div>

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