TIBCO Spotfire® Server and Environment - Installation and Administration

Configuring the action log web service using the command line

To collect logging from the Spotfire Server and specified services (Spotfire Analyst, Web Player, and Automation Services), first enable and configure writing to a file or to a database, and then enable and configure the action log web service.

About this task

If you do not configure the action log web service, then only actions performed on Spotfire Server are logged.

This task describes configuring the action log web service using the command line. Alternatively, you can enable and configure the action log web service using the configuration tool.

Before you begin

You must have administrative credentials for Spotfire Server.

You must have completed the following tasks.

Procedure

  1. Log in to the Spotfire Server, and from the Start menu, open a command-line window as administrator.
  2. Browse to <installation dir>\tomcat\spotfire-bin.
  3. At the command prompt, type the command config config-action-log-web-service, passing in the arguments specifying the services for which to collect logs.
    For example, to enable all categories from all hosts, type the following command.
    config config-action-log-web-service --allowedHosts=".*" --categories="all"
    By default, all hosts are allowed and all categories are logged. If you want to reduce the traffic passing between services and the server, replace the default argument values.
    • Specify from which host the server should accept logging requests.
    • Specify which individual services are allowed for logging. Provide a comma-separated list.

      At startup, all configured services check the server for allowed categories. See Action log categories for a complete list.