Configure Log Analytics for Sumo Logic

JFrog Platform Administration Documentation

Content Type
Administration / Platform
ft:sourceType
Paligo

Note

The log analytics integration with Sumo Logic does not use Fluentd.

The Log Analytics Configuration can be found in the Administration module under Artifactory | Advanced | Log Analytics.

image2021-5-24_11-27-15.png

Get started by setting the Enable checkbox.

Continue by obtaining your Sumo Logic credentials as described in the next section.

Credentials

To access the Sumo Logic Artifactory dashboard, you need a Client ID and Secret.

Create a New Account

If this is the first time you are using the Sumo Logic App for Artifactory you need to create an account to obtain your login credentials. Select Create New Connection. and click "Access Dashboard".

Artifactory will connect you to the Sumo Logic App for Artifactory. Your user name will automatically be taken as the email from your Artifactory account.

SumoAccessDashboard.jpg

Select your region, agree to the Service License Agreement and click "Access Dashboard".

Region

For best performance, make sure to select the region that is geographically closest to your Artifactory instance.

Trial account is free

The account created through this integration with Artifactory is a free trial account. To continue using the integration through this account beyond the trial expiry date, access your account on Sumo Logic and upgrade it to a paid account.

Connection URL

Add the connection URL of your existing Sumo Logic account which does not require any credentials to setup this integration.

Traffic Log

The traffic log provides information about download and upload events from Artifactory and must be enabled for Artifactory to send the download and upload events to your Sumo Logic dashboard.

The traffic.log is disabled by default and must be manually enabled.

To activate the traffic.log file, add the following parameter to your $JFROG_HOME/artifactory/var/etc/artifactory/artifactory.system.properties file :

artifactory.traffic.collectionActive=true

For this change to take effect so you can start collecting site traffic information, you will need to restart your system.

Connection Established

Once the connection is established, the Sumo Logic App will start analyzing your log files and populating the dashboard. This process may take several minutes to complete.

Out-of-the-box, the Sumo Logic App comes pre-configured with several dashboards. You can modify these and add to them as needed.

artifactory_app_traffic.png

For details on how to work with and modify your dashboard, please refer to the Sumo Logic documentation.

The Log Analytics screen in Artifactory will reflect the connected status showing the Client ID and Secret needed to log into your account.

LogAnalyticsConnected.jpg