Generate JSON snapshot for Event Hubs¶
You can migrate event hubs from the Splunk Add-on for Microsoft Cloud Services to Data Manager using the Migrate from Splunk Add-on for Microsoft Cloud Services version 5.4 or higher option in Data Manager. Migration allows you to automate and accelerate the data ingestion process.
The migration process consists of two parts:
- In the Splunk Add-on for Microsoft Cloud Services, export Event Hubs to a JSON file template. It ensures appropriate formatting of data so that it can be ingested to Data Manager.
- In Data Manager, migrate data inputs. It includes ingesting complex Event Hub data and reviewing created data inputs. Data inputs are created from modular inputs. Migration does not affect modular inputs in the Splunk Add-on for Microsoft Cloud Services.
Prerequisites to exporting Event Hub data from the Splunk Add-on for Microsoft Cloud Services¶
To be able to use the export feature, you have upgraded the Splunk Add-on for Microsoft Cloud Services to version 5.4.0 or higher. Download the latest version of the add-on from the Splunk Add-on for Microsoft Cloud Services from Splunkbase.
Export Event Hub data from the Splunk Add-on for Microsoft Cloud Services to a JSON file¶
In the Splunk Add-on for Microsoft Cloud Services, export Event Hubs by taking the following steps:
- Navigate to Configuration > Export tab.
- In the Input status column, set the status of the Event Hubs that you want to export to Inactive. Deactivating these inputs prevent data loss.
- In the Health status column, check that the status of Event Hubs that you want to export is Ready.
Configure all modular inputs associated with an Event Hub under the same Inputs Data Manager (IDM). Otherwise, the Splunk Add-on for Microsoft Cloud Services does not include them.
To learn how to work with IDM, see Work with Inputs Data Manager in the Splunk Cloud Platform Admin Manual.
- In the Ready for export column, select one or more Event Hubs with the Ready health status to export. After selecting the Event Hubs, on the Inputs tab, in the Name column, the Migration in progress status appears next to the Event Hubs selected for export. You can’t activate inputs with this status until they are selected for export.
- Select the Export button to download a JSON file that contains the point-in-time state of the Event Hubs.