Who can do this (User role)

ODN Administrator


Description

I want to check logs (history) of high level (bussiness) transactions performed in the past and keep them separated from low level application logs.

Preconditions

  • user has at least read permissions for accessing the log file on OS level

How to do it:

  • logging of business transactions is performed separately for each ODN component (ODN/IC, ODN/PC, ODN/UV and ODN/MP)

  • opens /var/log/apache2/odn-ckan-ic-business.log to check business transactions of ODN/IC 

    • the following business transactions are logged for ODN/IC (timestamp is included for each record):
      • dataset <<dataset id>> created
      • dataset <<dataset id>> updated
      • dataset <<dataset id>> deleted
      • dataset <<dataset id>> set to public
      • dataset <<dataset id>> set to private
      • pipeline <<pipeline id>> associated with dataset <<dataset id>>
      • pipeline <<pipeline id>> disassociated for dataset <<dataset id>>
      • external catalog associated with dataset <<dataset id>>
      • external catalog updated for dataset <<dataset id>>
      • external catalog disassociated for dataset <<dataset id>>
  • opens /var/log/apache2/odn-ckan-pc-business.log to check business transactions of ODN/PC
    • the following business transactions are logged for ODN/PC (timestamp is included for each record):
      • dataset <<dataset id>> created
      • dataset <<dataset id>> updated
      • organization <<organization id>> created
  • opens /var/log/unifiedviews/frontend/frontend-business.log to check business transactions of ODN/UV (frontend)
    • the following business transactions are logged for ODN/UV frontend (timestamp is included for each record):
      • pipeline <<pipeline id>> executed manually
      • pipeline <<pipeline id>> executed - scheduled run
      • pipeline <<pipeline id>> finished
  • opens /var/log/unifiedviews/backend/backend-business.log to check business transactions of ODN/UV (backend)
    • the following business transactions are logged for ODN/UV frontend (timestamp is included for each record):
      • pipeline <<pipeline id>> created
      • pipeline <<pipeline id>> updated
      • pipeline <<pipeline id>> deleted
      • pipeline <<pipeline id>> imported
      • pipeline <<pipeline id>> exported
      • DPU <DPU id>> imported
      • schedule <<scheduling rule id>> set for pipeline <<pipeline id>>
      • schedule <<scheduling rule id>> updated for pipeline <<pipeline id>>
      • schedule <<scheduling rule id>> deleted for pipeline <<pipeline id>>
  • opens /var/log/odn-midpoint/business.log
    • the following business transactions are logged for ODN/MP frontend (timestamp is included for each record):
      • user <<user id>> created as 'ODN Administrator'
      • user <<user id>> created as 'Data publisher'
      • user <<user id>> updated
      • user <<user id>> deleted
      • organization <<organization id>> created
      • organization <<organization id>> updated

Notes

99