Cloud ConnectorsCloud Connectors Troubleshooting

Table of Contents

Reset a Cloud Connector Account

If needed, you can reset a cloud connector account to delete the previous tasks of the connector and bring the connector back to its initialized state.

The tasks of the connector are the tasks that sync events from the endpoints. If the cloud connector accumulates too many tasks, you can reset the cloud connector. To reset a cloud connector account, perform the following steps:

  1. Log on to the Exabeam Cloud Connector platform with your registered credentials.

  2. Navigate to Settings > Accounts.

  3. Click the account name that you want to reset.

  4. For the Exabeam platform version 2.4.206 and later, in the right pane, click RESET.

  5. For the Exabeam platform version earlier than 2.4.206, perform the following steps:

    1. Click the account that you want to reset.

    2. In the right pane, copy the cloud connector ID.

    3. On the host computer, in root user, paste the following function in bash:

      function reset_connector(){ local IDS_RAW=$1 local IDS="\\'${IDS_RAW}\\'" docker exec --user postgres sk4postgres bash -c "psql -v ids=$IDS -v ep=$EP_NAME -d skyformationdb << EOF create view def_to_delete (id) as select id from task_definitions where executor in (:ids); create view tasks_to_delete as select id from task_instances where definition_id in (select id from def_to_delete); delete from def_runtime where definition_id in (select id from def_to_delete); delete from task_instances where id in (select id from tasks_to_delete); delete from task_definitions where id in (select id from def_to_delete); drop view if exists tasks_to_delete; drop view if exists def_to_delete; EOF " }
    4. Run the function after adding the connector ID. For example:

      reset_connector <my-connector-32-char-id-here>