community
cancel
Showing results for 
Search instead for 
Did you mean: 

alteryx server Knowledge Base

Definitive answers from Server experts.

How To: Enable MongoDB logs in RuntimeSettings.xml

Alteryx
Alteryx
Created on

How To: Enable MongoDB logs in RuntimeSettings.xml

 

When trying to troubleshoot Server/Gallery issues, it can be useful to gather logs to determine if the cause is with your MongoDB. These steps will show you how to enable Mongo logging. 

 

Prerequisites

 

  • Alteryx Server
  • Embedded MongoDB
  • Administrative Rights

 

Procedure

 

  1. ALWAYS BACK UP FIRST. Make sure to make a copy of your RuntimeSettings.xml as well as your MongoDB. See this article for Backup & Recovery Best Practices
  2. Stop your Alteryx Service 
  3. Open File Explorer and navigate to %PROGRAMDATA%\Alteryx
    IbEzdrN
  4. Open RuntimeSettings.xml in a text editor 
  5. Under the Controller section add EmbeddedMongoDBLogPath as a key
    q7lYyhe
  6. Add a directory as the value with .txt file extension. 
    WzjviHE

  7. Start your Alteryx Service and Mongo logs should be generating 
    sxqW1ZS