Forum Discussion

Muntazir_Lala_2's avatar
Muntazir_Lala_2
Icon for Altostratus rankAltostratus
May 08, 2017

APM Schedule Report

Hi,

 

I was looking for an option under Access Policy Manager for schedule report. I called support they said it is not possible to get the reports generated. Can anyone help me in this regards. I believe there would be a way out.

 

Warm Regards MSL

 

2 Replies

  • Using a script it could be done. I want to know how to execute the script to call log from access logs (/var/log/apm). If anyone has any idea please suggest.

     

    Regards MSL

     

  • Anesh's avatar
    Anesh
    Icon for Cirrostratus rankCirrostratus

    You can use the iControl Rest API

    curl -sku admin:pass -X POST -H "Content-Type: application/json" https://localhost/mgmt/tm/util/bash -d "{\"command\":\"run\", \"utilCmdArgs\": \"-c 'tmsh show sys log audit'\"}" | sed 's/\\n/\n/g'