JumpCloud Directory Insights Source

JumpCloud's open directory platform unifies your technology stack across identity, access, and device management in a cost-effective manner that doesn't sacrifice security or functionality. Directory Insights gives you a clear path to view, analyze, and save user and resource activity data, in a standard format that you can query in real time.
JumpCloud Directory Insights Source is used to collect Directory Insights Events from the JumpCloud platform using the REST API and send it to Sumo Logic.
Data source
The integration fetches events data using REST API provided by JumpCloud Directory Insight platform.
Setup and configuration
The JumpCloud Directory Insights source requires you to provide the API Key and Organization ID to access the source data.
- To generate the API Key, follow the instructions mentioned in the Jumpcloud documentation.
- To generate the Organization ID, follow the instructions mentioned in the Jumpcloud documentation.
States
JumpCloud Directory Insights source is a security platform that provides cloud-based security in a cost-effective manner that doesn't sacrifice security or functionality. When you create a JumpCloud Directory Insights source, it goes through the following stages:
- Pending. Once the Source is submitted, it is validated, stored, and placed in a Pending state.
- Started. A collection task is created on the Hosted Collector.
- Initialized. The task configuration is complete in Sumo Logic.
- Authenticated. The Source successfully authenticated with JumpCloud Directory Insights.
- Collecting. The Source is actively collecting data from JumpCloud Directory Insights.
If the Source has any issues during any one of these states, it is placed in an Error state.
When you delete the Source, it is placed in a Stopping state. When it has successfully stopped, it is deleted from your Hosted Collector. On the Collection page, the Health and Status for Sources is displayed. You can click the text in the Health column, such as Error, to open the issue in Health Events to investigate.
Create JumpCloud Directory Insights Source
When you create a JumpCloud Directory Insights source, you add it to a Hosted Collector. Before creating the source, identify the Hosted Collector you want to use or create a new Hosted Collector. For instructions, see Configure a Hosted Collector.
To configure a JumpCloud Directory Insights source:
- In Sumo Logic, select Manage Data > Collection > Collection.
- On the Collection page, click Add Source next to a Hosted Collector.
- Search for and select JumpCloud Directory Insights.
- Enter a Name for the source. The description is optional.
- (Optional) For Source Category, enter any string to tag the output collected from the Source. Category metadata is stored in a searchable field called
_sourceCategory
. - (Optional) Fields. Click the +Add button to define the fields you want to associate. Each field needs a name (key) and value.
A green circle with a check mark is shown when the field exists in the Fields table schema.
An orange triangle with an exclamation point is shown when the field doesn't exist in the Fields table schema. In this case, an option to automatically add the nonexistent fields to the Fields table schema is provided. If a field is sent to Sumo Logic that does not exist in the Fields schema it is ignored, known as dropped.
- In API Key, enter the API Key you generated from the JumpCloud Directory Insights platform.
- In Organization ID, enter the Organization ID you generated from the JumpCloud Directory Insights platform.
- In Service, select the type of logs to collect. This allows you to limit the response to just the data you want.
- When you are finished configuring the Source, click Save.
Error types
When Sumo Logic detects an issue it is tracked by Health Events. The following table shows the three possible error types, the reason for the error, if the source attempts to retry, and the name of the event log in the Health Event Index.
Type | Reason | Retries | Retry Behavior | Health Event Name |
---|---|---|---|---|
ThirdPartyConfig | Normally due to an invalid configuration. You'll need to review your Source configuration and make an update. | No retries are attempted until the Source is updated. | Not applicable | ThirdPartyConfigError |
ThirdPartyGeneric | Normally due to an error communicating with the third-party service APIs. | Yes | The Source will retry indefinitely. | ThirdPartyGenericError |
FirstPartyGeneric | Normally due to an error communicating with the internal Sumo Logic APIs. | Yes | The Source will retry indefinitely. | FirstPartyGenericError |
Restarting your source
If your Source encounters ThirdPartyConfig errors, you can restart it from either the Sumo Logic UI or Sumo Logic API.
UI
To restart your source in the Sumo Logic platform, follow the steps below:
- Open the Collection page, and go to Manage Data > Collection > Collection.
- Select the source and click the information icon on the right side of the row.
- The API usage information popup is displayed. Click the Restart Source button on the bottom left.
- Click Confirm to send the restart request.
- The bottom left of the platform will provide a notification informing you the request was successful.
API
To restart your source using the Sumo Management API, follow the instructions below:
- Method:
POST
- Example endpoint:
https://api.sumologic.com/api/v1/collectors/{collector_id}/sources/{source_id}/action/restart
Sumo Logic endpoints like api.sumologic.com
are different in deployments outside us1
. For example, an API endpoint in Europe would begin api.eu.sumologic.com
. A service endpoint in us2
(Western U.S.) would begin service.us2.sumologic.com
. For more information, see Sumo Logic Endpoints.
JSON Configuration
Sources can be configured using UTF-8 encoded JSON files with the Collector Management API. See Use JSON to Configure Sources for details.
Parameter | Type | Required | Description | Access |
---|---|---|---|---|
config | JSON Object | Yes | Contains the configuration parameters of the Source. | n/a |
schemaRef | JSON Object | Yes | Use {"type":"JumpCloud Directory Insights"} for JumpCloud Directory Insights Source. | not modifiable |
sourceType | String | Yes | Use Universal for JumpCloud Directory Insights. | not modifiable |
Config parameters
Parameter | Type | Required | Description | Access |
---|---|---|---|---|
name | String | Yes | Type the desired name of the Source. It must be unique per Collector. This value is assigned to the metadata field _source . | modifiable |
description | String | No | Type the description of the Source. | modifiable |
category | String | No | Type the category of the source. This value is assigned to the metadata field _sourceCategory . | modifiable |
fields | JSON Object | No | JSON map of key-value fields (metadata) to apply to the Collector or Source. Use the boolean field _siemForward to enable forwarding to SIEM. | modifiable |
apiKey | String | Yes | API Key generated from the JumpCloud Directory Insights platform. | modifiable |
orgID | String | Yes | Organization ID generated from the JumpCloud Directory Insights platform. | modifiable |
service | String | Yes | Type of logs from which you want to collect the data from. | modifiable |
JSON example
{
"api.version": "v1",
"source": {
"config": {
"name": "JumpCloud Directory Insights",
"description": "Collect Events from JumpCloud Directory Insights Product",
"category": "jumpcloud-directory-insights",
"apiKey": "ebf7b9d6e1****************",
"orgID": "64949312***************",
"service": "all"
},
"schemaRef": {
"type": "JumpCloud Directory Insights"
},
"sourceType": "Universal"
}
}
Troubleshooting
After configuring your source, you should check the status of the source in the Collectors page > Status column. If the source is not functioning as expected, you may see an error next to the Source Category column as shown below:
Error Code: 400
Solution: Make sure that the orgID entered is correct your domain.
Error Code: 401
Solution: Make sure that the apiKey entered is correct your domain.
Error Code: 402
Solution: Make sure that the Directory Insights is enabled for the Organization.