cancel
Showing results for 
Search instead for 
Did you mean: 

Replicate CPI system logs to SFTP

malteschluenzkc
Participant
0 Kudos

Hi all,

I am currently planning to insert CPI system logs (HTTP Access Log and CP Default Trace) to a log analytics tool. For that I would like to replicate the logs to a SFTP server to than process them.

Do you know a way how to do this?
I thought about building an iflow which does this, however, I found the filenaming difficult to automate.

Best regards,
Malte

View Entire Topic
Sriprasadsbhat
Active Contributor
0 Kudos

Hello Malte,

Finally able to get hold of the issue.Use below query which returns correct data( change from ModifiedAfter to modifiedAfter )

https://<TMN>/api/v1/LogFileArchives(Scope='all',LogFileType='http',NodeScope='worker')/$value?modifiedAfter=2020-10-14T15:51:04Z

Regards,

Sriprasad Shivaram Bhat

malteschluenzkc
Participant

Hi Sriprasant,

thank you very much for your support!
Then the documentation under https://api.sap.com/api/LogFiles/resource)! is incorrect, because that has the capital M

Best regards,
Malte