Skip to main content
Announcements
UPGRADE ADVISORY for Qlik Replicate 2024.5: Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
pb5445
Contributor
Contributor

Qlik replicate - list of tasks and respective source/target endpoints

I want to identify the list of source and target endpoints for all the Qlik tasks defined on our Qlik replicate server.
Is there any API we can use to get this complete information for any give Qlik server?

Labels (1)
2 Replies
john_wang
Support
Support

Hello @pb5445 ,

Thanks for reaching out to Qlik Community!

One option is using the command repctl exportrepository, and then check the generated JSON file in data folder, the default directory (in Windows) is "C:\Program Files\Attunity\Replicate\data\imports".

Please make sure to run the "Qlik Replicate Command Line" command by "Run as Administrator".

Hope this helps.

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
Heinvandenheuvel
Specialist III
Specialist III

Sure. The Enterprise Manager API has a 'getserverlist' to drill down to 'gettasklist' to drill down to 'gettaskdetail' which  can return:

"source_endpoint":{ "name":"{string}", "type":"{string}",
"target_endpoint":{ "name":"{string}", "type":"{string}",...
"profile":"{string}",...
"options":
"full_load_enabled"":”{bool}”, "apply_changes_enabled":”{bool}”,
"store_changes_enabled":”{bool}”, "audit_changes_enabled":”{bool}”},
"log_stream_staging":"{string}",

 

Or as per @john_wang  you can use EXPORT ALL and tie it all together. 

I made both a PERL and Powershell script to use the Export-all JSON data to present the task - endpoint relationships in a table when used with -T argument amongst many other options..

You may want to try those. I'll attach them as .TXT and support you save them as .PL and .PS1 for execution. Read them, or use -h to find all functions beside the -T needed.

Hein.