Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Custom data source to read out DOM audit trail

Solved709 views4th May 2023audit trail DOM
2
Martijn Vanallemeersch [SLC] [DevOps Member]953 4th May 2023 0 Comments

Hi Dojo,

Did somebody already create a custom data source to read out the audit trail from a DOM instance?

Idea would be to select an existing DOM instance from a table in a form with a button to show the audit trail in a table

As the audit trail is already accessible via the client test tool (ideally the description is a bit more readable, but would already help a lot to see which persons made changes to a DOM instance)

Martijn Vanallemeersch [SLC] [DevOps Member] Answered question 4th May 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Thomas Ghysbrecht [SLC] [DevOps Enabler]4.80K Posted 4th May 2023 0 Comments

Hi Martijn,

This should definitely be possible. I made a short example of how you can retrieve the DOM history for one DomInstance in a script: https://github.com/Skyline-ThomasGH/DataMiner_ScriptExamples/blob/main/DOM_GetHistoryForInstanceExample.xml

This will allow you to know who changed something and on when that happened. To know what exactly changed, you'll need to parse the 'IChangeDescription' objects which are present in the 'Changes' collection on each 'HistoryChange'. (The objects that are returned when retrieving the history)

As you can see, the 'IChangeDescription' is an interface, meaning that there can be different kinds of changes. At the time of writing, there are two:

  • DomSectionChange : Contains the ID of the section and a collection with all the field values that were changed.
  • DomInstanceStatusChange : Defines that the status was updated and contains the ID of before and after the change.

Let me know if you would need some help with parsing these. I could create another example script.

Martijn Vanallemeersch [SLC] [DevOps Member] Selected answer as best 4th May 2023
0
Martijn Vanallemeersch [SLC] [DevOps Member]953 Posted 4th May 2023 0 Comments

FYI: As this feature is not available yet I created a datasource that grabs audit trail from a DOM instance & shows it in a DOM application via custom datasources in GQI: https://docs.dataminer.services/user-guide/Advanced_Modules/Dashboards_app/Using_dashboard_feeds/Configuring_GQI_feeds/Configuring_an_external_data_source_in_a_query.html#igqiinputarguments

The code is located on my github:

https://github.com/martijnskyline/Audit-trail-datasource

Martijn Vanallemeersch [SLC] [DevOps Member] Edited answer 4th May 2023
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Multiple Set on Table parameters for DVE’s 0 Answers | 1 Vote
DOM Definition relations returned in Definition query 0 Answers | 1 Vote
Alarm Dashboard PDF/CSV Export 1 Answer | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin