Assistance with Custom Attribute Retrieval in VMware App for Splunk
Hello everyone,
I'm currently working on integrating custom attributes from VMware into Splunk ITSI using the Splunk Add-on for VMware Metrics.
The standard functionality of the add-on doesn't seem to support custom attribute retrieval out-of-the-box and I need a "TechnicalService" custom attribute for an entity split.
To tackle this, I am looking into extending the existing add-on scripts, particularly focusing on the CustomFieldsManager within the VMware API.
I've explored the inventory_handlers.py, inventory.py, and mo.py scripts within the add-on and found a potential pathway through the CustomFieldsManager class in mo.py.
However, I'd appreciate any insights or guidance from those who have tackled similar integrations or extensions.
Specifically, I'm interested in:
- Best practices for extending the add-on to include custom attributes without affecting its core functionalities.
- Any known challenges or pitfalls in modifying these scripts for custom attribute integration.
- Advice on testing and validation to ensure stable and efficient operation post-modification.
I'm open to suggestions, alternative approaches, or any resources that might be helpful in this context.
Thank you in advance for your assistance and insights!
kind regards,
Charly