How to recover Log Analytics (SumoLogic) Secret and Client ID

How to recover Log Analytics (SumoLogic) Secret and Client ID

AuthorFullName__c
JFrog Support
articleNumber
000004114
ft:sourceType
Salesforce
FirstPublishedDate
2018-01-31T18:55:17Z
lastModifiedDate
2020-12-29
VersionNumber
5

There can be an unexpected event that results in Artifactory losing the Sumologic Client ID and Secret needed in Log Analytics to connect to SumoLogic.  

It is important to note that this is not the same as the API key generated from the SumoLogic UI.

To recover the Secret and Client ID, follow these steps:

  1. Look for a past version of config-descriptor.xml in $ARTIFACTORY_HOME/etc
  2. Navigate to   <sumoLogicConfig> block in the xml
  3. copy and save the Client ID and Secret information
  4. Go to Artifactory UI Admin>Config Descriptor
  5. Navigate to   <sumoLogicConfig> block
  6. Update the <ClientID> and <Secret> fields
  7. Go to Artifactory UI>Log Analytics
  8. Enter the Client ID and Secret
You should now be able to use SumoLogic again.