Aruba API Data Source

Aruba API
Create a New Data Flow
-
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Then, select the desired flow type from the list, and click the Create button.
-
Select the Aruba API connector tile from the list of available connectors. Then, select the credential that will be used to connect to the Aruba Central instance, and click Next; or, create a new Aruba API credential for use in this flow.
-
In Nexla, Aruba API data sources can be created using pre-built endpoint templates, which expedite source setup for common Aruba Central endpoints. Each template is designed specifically for the corresponding Aruba Central endpoint, making source configuration easy and efficient.
• To configure this source using a template, follow the instructions in Configure Using a Template.Aruba API sources can also be configured manually, allowing you to ingest data from Aruba Central endpoints not included in the pre-built templates or apply further customizations to exactly suit your needs.
• To configure this source manually, follow the instructions in Configure Manually.
Configure Using a Template
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common Aruba Central endpoints. Each template is designed specifically for the corresponding Aruba Central endpoint, making data source setup easy and efficient.
Endpoint Settings
-
Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below. Click on an endpoint to see more information about it and how to configure your data source for this endpoint.
Endpoint Testing
Once the selected endpoint template has been configured, Nexla can retrieve a sample of the data that will be fetched according to the current settings. This allows users to verify that the source is configured correctly before saving.
-
To test the current endpoint configuration, click the Test button to the right of the endpoint selection menu. Sample data will be fetched & displayed in the Endpoint Test Result panel on the right.
-
If the sample data is not as expected, review the selected endpoint and associated settings, and make any necessary adjustments. Then, click the Test button again, and check the sample data to ensure that the correct information is displayed.
Configure Manually
Aruba API data sources can be manually configured to ingest data from any valid Aruba Central API endpoint. Manual configuration provides maximum flexibility for accessing endpoints not covered by pre-built templates or when you need custom API configurations.
With manual configuration, you can also create more complex Aruba API sources, such as sources that use chained API calls to fetch data from multiple endpoints or sources that require custom authentication headers or request parameters.
API Method
-
To manually configure this source, select the Advanced tab at the top of the configuration screen.
-
Select the API method that will be used for calls to the Aruba Central API from the Method pulldown menu. The most common methods are:
- GET: For retrieving data from the API (most common for Aruba Central data sources)
API Endpoint URL
- Enter the URL of the Aruba Central API endpoint from which this source will fetch data in the Set API URL field. This should be the complete URL including the protocol (https://) and any required path parameters.
Aruba Central API URLs typically follow the format: https://apigw-prod2.central.arubanetworks.com/platform/auditlogs/v1/logs for audit logs, or https://apigw-prod2.central.arubanetworks.com/aiops/v1/connectivity/global/stage/{stage}/export for connectivity metrics. Replace the base URL with your actual Aruba Central API gateway URL if different. Ensure the API endpoint URL is correct and accessible with your current credentials. You can test the endpoint using the Test button after configuring the URL. For complete information about Aruba Central API endpoints, see the Aruba Central API Documentation.
Request Headers
- If Nexla should include any additional request headers in API calls to this source, enter the headers & corresponding values as comma-separated pairs in the Request Headers field (e.g.,
header1:value1,header2:value2).
You do not need to include authentication headers (OAuth 2.0 access tokens) as these are automatically included from your credentials. However, you may need to include additional headers for specific Aruba Central API features. The Accept header should be set to application/json for most Aruba Central API requests.
Response Data Path
- Enter the JSON path expression that identifies the location of the data array in the API response in the Response Data Path field. This path tells Nexla where to find the array of records in the JSON response.
For Aruba Central API responses, the data path varies by endpoint. For audit log responses, use $.data[*] to extract individual log entries from the data array. For AI insights responses, use $.data[*] to extract individual insight objects. For single object responses, use $ to extract the entire object. JSON path expressions use dot notation and array indexing to navigate the response structure. For complete information about Aruba Central API response formats, see the Aruba Central API Documentation.
Schedule
- Enter a schedule in the Schedule field to specify when this data source should run. The schedule uses cron expression format to define the frequency and timing of data ingestion.
Common cron expressions include: 0 6 * * * for daily at 6 AM, 0 */6 * * * for every 6 hours, and 0 0 * * 0 for weekly on Sunday at midnight. For more information about cron expressions, see the Nexla documentation on scheduling.