Page tree

 

The Trifacta® command line interface (CLI) enables scripted execution of jobs and management of users and connections for the Trifacta platform. This section provides documentation on how to install and deploy the command line tools and includes example commands for each supported action. 

Logging

The CLI submits requests to the platform through the Trifacta application, which writes its logging information to the following file:

/opt/trifacta/logs/webapp.log

In the above log file, some CLI requests, such as job execution, can be located by searching for the following:

"ranfrom": "cli"

Tip: From the output of the CLI, you should get in the habit of capturing the job, dataset, flow, or other object identifier that the request is creating, modifying, or removing. These IDs are useful for parsing the log file or locating the object in the application.

Administrators can download log files through the Trifacta node operating system or through the web interface for the platform. For more information, see System Services and Logs.

Log Levels

By default, the logging level for the web application is set to INFO.

If you are attempting to debug an issue related to the CLI, you can change the logging level.

You can apply this change through the Admin Settings Page (recommended) or trifacta-conf.json. For more information, see Platform Configuration Methods.

The log level is defined in the following parameter:

"webapp.loggerOptions.level": "INFO",

For more information, see Admin Settings Page.

This page has no comments.