update_datamart

This command updates the start time or adds a comment to a user-defined or predefined data mart export.

This API is available in Guardium V9.5 and later.

REST API syntax

This API is available as a REST service with the PUT method. Call this API as follows:
PUT https://[Guardium hostname or IP address]:8443/restAPI/update_datamart

GuardAPI syntax

update_datamart parameter=value

Parameters

Parameter Value type Description
api_target_host string
Specifies the target hosts where the API executes. Valid values:
  • all_managed: execute on all managed units but not the central manager
  • all: execute on all managed units and the central manager
  • group:<group name>: execute on all managed units identified by <group name>
  • host name or IP address of a managed unit: specified from the central manager to execute on a managed unit.  For example, api_target_host=10.0.1.123.
  • host name or IP address of the central manager: specified from a managed unit to execute on the central manager. For example, api_target_host=10.0.1.123.
Comment String Comment about the change you make.
initial_start Date Valid values:
  • < >: current time
  • YYYY-MM-DD hh:mm:ss
linesPerFile Integer  
Name String Required. Data mart name.

Examples

To set the start time of data mart Export:Full SQL to midnight on 1 September 2019:

update_datamart name="Export:Full SQL" initial_start 2019-09-01 00:00:00