Integration with New Relic
-
Combine all other external data sources in your New Relic dashboard.
-
Get visibility of analytics in a centralized place.
Prerequisites
-
Obtain a New Relic event endpoint in the following format:
https://insights-collector.newrelic.com/v1/accounts/<account_id>/eventsFor more information on configuring an event endpoint, see New Relic documentation.For more information on getting an account ID, see New Relic documentation. -
Obtain a New Relic key. For more information, see New Relic documentation.
-
Add the key details in NetScaler Console
Add the key details in NetScaler Console
-
Log on to NetScaler Console.
-
Navigate to Settings > Observability Integration.
-
In the Integrations page, click Add.
-
In the Create Subscription page, specify the following details:
-
Specify a name of your choice in the Subscription Name field.
-
Select NetScaler® Console as the Source and click Next.
-
Select New Relic and click Configure. In the Configure Endpoint page:
-
End Point URL – Specify the New Relic end point details. The end point must be in the
https://insights-collector.newrelic.com/v1/accounts/<account_id>/eventsformat.
NoteIt is recommended to use HTTPS for security reasons. -
-
Authentication token – Copy and paste the authentication token from New Relic.
-
Click Submit.
-
-
Click Next.
-
Click Add Insights and in the Select Feature tab, you can select the features that you want to export and click Add Selected.
-
Click Next.
-
In the Select Instance tab, you can either choose Select All Instances or Custom select, and then click Next.
-
Select All Instances - Exports data to New Relic from all the NetScaler instances.
-
Custom select - Enables you to select the NetScaler instances from the list. If you select specific instances from the list, then the data is exported to New Relic only from the selected NetScaler instances.
-
-
Click Submit.Note:The data for the selected insights gets pushed to New Relic immediately after the violations are detected in NetScaler Console.
-
New Relic dashboard
<subsription_name>_adm_<event name> where event name can be Bot, WAF, and so on.
<subscription_name> and bot is the <event_name>.
https://docs.newrelic.com/docs/query-your-data/nrql-new-relic-query-language/get-started/introduction-nrql-new-relics-query-language/
-
Widget 1: Total Unique Attacks in events table
SELECT count(total_attacks) from <event_name> since 30 days ago -
Widget 2: Unique Transaction IDs in event table
SELECT uniqueCount(transaction_id) from <event_name> since 30 days ago -
Widget 3: Total Unique Bot Types and their counts
SELECT uniqueCount(bot_type_desc), uniques(bot_type_desc) from <event_name> since 30 days ago -
Widget 4: Total unique App Names seeing Bot Violations
SELECT uniques(appname) from <event_name> since 30 days ago