Configure Inventory inputs for the Genesys Cloud Add-on for Splunk¶
Description: Inventory inputs enable collection of:
- Users Directory,
- Queues Directory.
Warning
These inputs are intended for scenarios such as compliance retention where provisioning data (IDs, names, metadata) must be indexed, rather than resolved on demand. Therefore, if you only need to resolve user or routing queue IDs into human-readable names at search time (for dashboards), we strongly recommend leveraging custom search commands instead.
Pre-Requirements¶
Before you enable inputs, complete the previous steps in the configuration process:
- Configure an integration application in Genesys Cloud for the Genesys Cloud Add-on for Splunk
- Configure an account in the Genesys Cloud Add-on for Splunk
Configure your inputs on the Splunk platform instance responsible for collecting data for this add-on, usually a heavy forwarder. You can configure inputs using Splunk Web (recommended) or using the configuration files.
Configure inputs using Splunk Web¶
Configure your inputs using Splunk Web on the Splunk platform instance responsible for collecting data for this add-on, usually a heavy forwarder.
- In the Genesys Cloud Add-on for Splunk, click Inputs > Create New Input > Inventory.
- Select one of the available inputs among Users Directory and Queues Directory.
- Enter the parameter values using information provided in the input parameter table below.
- Click Add.
- Verify that data is successfully arriving by running the following search on your search head:
sourcetype=genesyscloud:inventory:*
If you do not see any events, check the Troubleshooting section.
Configure inputs in the configuration files¶
Configure your inputs using the configuration files on the Splunk platform instance responsible for collecting data for this add-on, usually a heavy forwarder.
- Create
$SPLUNK_HOME/etc/apps/genesys_cloud_ta/local/inputs.conf. - Add the following stanza.
<!-- Users Directory -->
[users_directory://<users_directory_input_name>]
account = <value>
index = <value>
interval = <value>
<!-- Queues Directory -->
[queues_directory://<queues_directory_input_name>]
account = <value>
index = <value>
interval = <value>
- (Optional) Configure a custom
index. - Restart your Splunk platform instance.
- Verify that data is successfully arriving by running the following search on your search head:
sourcetype=genesyscloud:inventory:*
If you do not see any events, check the Troubleshooting section.
Input Parameters¶
Each attribute in the following table corresponds to a field in Splunk Web.
| Input name | Corresponding field in Splunk Web | Description |
|---|---|---|
input_name |
Input Name | A unique name for your input. |
account |
Account Name | The Genesys Cloud account from which you want to gather data. |
index |
Index | The index in which the data should be stored. The default is default. |
interval |
Interval (seconds) | Rerun the input after the defined value, in seconds. The default value is 86400 (once per day), which is sufficient for most environments. |
Note
Being the data collected directory/provisioning data (IDs, names, metadata) and not time-series events, changes are infrequent, hence a low collection frequency is recommended.
Handling duplicates¶
On every run the users_directory and queues_directory inputs ingest a full snapshot of the Genesys Cloud users and routing queues through GET /api/v2/users and GET /api/v2/routing/queues API calls.
Please mind that:
- These inputs do not use checkpointing: each run re-indexes the entire directory as a fresh snapshot. This is intentional, so that deleted or renamed entities are reflected on each run, but it means the same id is indexed once per run and duplicates accumulate over time.
- When searching the indexed data, keep only the most recent snapshot per entity, for example:
sourcetype=genesyscloud:inventory:users
| dedup id sortby -_time
- If the data is used purely for lookups and historical retention is not required, consider sending these inputs to a dedicated index with a short retention policy to keep the duplicate volume under control.