Collects a list of all active (ie. non disabled or pending) users in a Datadog organization and outputs them to a csv file.
- Ensure Python 3 is installed, and know if it is located as
python
orpython3
(andpip
orpip3
respectively) on your system. cd
into the directory this script is downloaded, then runpip install datadog
.- Replace
<API_KEY>
and<APP_KEY>
with your API and APP keys inside of the script. - Save.
This application can be run after setup by running python get_active_users.py
. It should then create a file titled active_users.csv
in the same directory as the script.
Create an issue in GitHub or make a PR.