![]() |
VOOZH | about |
The CData Excel Add-In for Sentry provides formulas that can query Sentry data. The following three steps show how you can automate the following task: Search Sentry data for a user-specified value and then organize the results into an Excel spreadsheet.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as APIConnection1, or a connection string. The connection string consists of the required properties for connecting to Sentry data, separated by semicolons.
Sentry uses token-based authentication. To obtain an Auth Token:
After obtaining your Auth Token, set the following connection properties:
Profile=C:\profiles\Sentry.apip;AuthScheme=APIKey;ProfileSettings="APIKey=your_auth_token;OrganizationId=your_org_slug";
Once the authentication is configured, you can connect to Sentry and query data from any of the available tables such as Organizations, Projects, Issues, and Events.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM UserOrganizations WHERE = '"&B6&"'","Profile="&B1&";AuthScheme="&B2&";ProfileSettings="&B3&";OrganizationId="&B4&";Provider=API",B7)
👁 Formula inputs used in this example. (Google Apps is shown.)Connect to live data from Sentry with the API Driver
Connect to Sentry