Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
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.
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.