Topic
  • 5 replies
  • Latest Post - ‏2013-10-08T15:29:31Z by swlinn
skc5559
skc5559
23 Posts

Pinned topic Logging information in datapower

‏2013-05-16T13:33:20Z |

Hi, I want to work on logging to get information on who has last accessed the device, who has last edited/modified a file. Is there anyway I can get to know who user has last modified a particular file and timestamp can anyway seen on dp file system.

  • JoeMorganNTST
    JoeMorganNTST
    427 Posts

    Re: Logging information in datapower

    ‏2013-05-16T14:25:38Z  

    Is the Audit log not enough?

     

  • swlinn
    swlinn
    1395 Posts

    Re: Logging information in datapower

    ‏2013-05-16T21:40:00Z  

    File modification is an option on the domain configuration.  As for logging, if the audit log is not enough, you could configure a custom logging target.

    Regards,

    Steve

  • swlinn
    swlinn
    1395 Posts

    Re: Logging information in datapower

    ‏2013-10-07T14:53:21Z  
    This reply was deleted by koganti 2013-10-28T03:42:35Z.

    The Audit log is viewable from the Web-UI using Status -> View Logs -> Audit log.  The audit log file itself is not visible on the file management window of the Web-UI, but if accessing using CLI, it is in the audit subdirectory of the default domain.  Within the log record, you will get an indication of the file that was changed and the user that changed it.  For example,

    20131007T104223Z [file][success][0x82400028] (admin:swlinn:web-gui:192.168.72.1): Uploaded new file "local:/UserMessage.xml" (2396 bytes)

    Indicates that file UserMessage.xml in the swlinn domain was modified by user admin using the web-gui from the client IP 192.168.72.1 (My VMWare Host IP).

    Regards,
    Steve
     

  • HermannSW
    HermannSW
    6201 Posts

    Re: Logging information in datapower

    ‏2013-10-08T00:23:06Z  
    This reply was deleted by koganti 2013-10-28T03:42:25Z.

    xi52(config)# show audit-log

     

  • swlinn
    swlinn
    1395 Posts

    Re: Logging information in datapower

    ‏2013-10-08T15:29:31Z  
    This reply was deleted by koganti 2013-10-28T03:42:25Z.

    This works too ...

    xi52(config)# show file audit:///audit-log

    although show-audit does give you pagination that showing the file does not.  I prefer show file however as I'm usually interested in what is at the bottom of the file that I've just tested and don't want to paginate through a large file.

    Regards,

    Steve