Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

SFTP: old reporting files also uploaded again

Vicky
New Contributor III
New Contributor III

Hi,

Once a day, upload Analytics report file to SFTP server as zip file.
Reporting and uploading is done correctly, but upload file increasing day by day.
All of csv file on Saviynt's specified folder are sending every day.

For example,
         report         uploaded files
 9/1     0901.csv     0901.zip
 9/2     0902.csv     0901.zip, 0902.zip
 9/3     0903.csv     0901.zip, 0902.zip, 0903.zip

Old files will be uploaded again.
We want to upload only 1 file. 
 --- Is it possible to upload today's csv only?
 --- Or is it possible to  zip all csv to a one zipped file?
Is there a way to make it happen?

 Regards,

4 REPLIES 4

stalluri
Valued Contributor II
Valued Contributor II

@Vicky 
keep the history count to 1 in analytics
https://forums.saviynt.com/t5/identity-governance/siem-integratiin-query/m-p/116522?lightbox-message...

From Release v23.11 onwards, you can configure the delete_from_source parameter in the files_to_get and files_to_put configurations. To specify this parameter as true, use the following format:

JSON
[
{
"eic_src_dir":"Reports",
"target_dir":"/download1",
"regex_list":["^.*\\.zip"],
"file_list":["TestReport.zip"],
"delete_from_source":"true"
}
]
 

You can use this parameter to define if a file should be deleted from the source post successful transfer. If this value is set to true, then the transferred file from source to target location is deleted from the source directory.


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.

rushikeshvartak
All-Star
All-Star
  • Keep No. of history =1 in analytics config

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Honored Contributor II
Honored Contributor II

Hi @Vicky are you directly uploading the file from analytics?

Vicky
New Contributor III
New Contributor III

Hi All,
Thank you for a lot of advise.
Adding delete_from_source parameter,  and the expected behavior was achieved.
I also set "No. of history =1 ".
Thank you !

Regards,