Skip to main content

Set Up Data Insights Ingestion

Admin users can set up a data insights ingestion pipeline right from the OpenMetadata UI.
  • Navigate to Settings >> Applications. If the data insights application does not show up, click on Add Apps
Applications Add Apps
  • Click on read more for Data Insights application.
Data Insights Application
  • Install the Data Insights application.
Install Data Insights
  • Click on Configure to adjust the batch size and other settings according to your specific requirements. To authorize the Data Insights app, proceed by clicking on Schedule.
configure Data Insights Schedule Data Insights
  • Choose a schedule execution time for your workflow. The schedule time is displayed in UTC. We recommend running this workflow overnight or when activity on the platform is at its lowest to ensure accurate data. It is scheduled to run daily. Click on Submit.
Set Up Data Insights Ingestion Schedule This will successfully install the Data Insights application. Click on Configure to view the details. Installed the Data Insights Application
  • Click on Run now to setup the ingestion pipeline.
Run the Data Insights Pipeline
  • You can also Edit the ingestion schedule. The ingestion pipeline can also be run on demand by again clicking on Run now. You can view the Recent Runs tab for details on when the ingestion was last run.
Recent Runs of the Data Insights Pipeline Navigate to the Insights page. You should see your Data Insights Reports. Note that if you have just deployed OpenMetadata, App Analytics data might not be present. App Analytics data is fetched from the previous day (UTC).

Troubleshooting

Data Insights Fails Within Seconds with 413 Request Entity Too Large

If the Data Insights application succeeds on some runs and then fails within a few seconds on later runs, the end of the run log might show no error. The real error is in the middle of openmetadata.log on the server, and the server can log it at the DEBUG level. Search the log for OpenSearchIndexSink or 413. The message looks like this:
The error 413 means OpenSearch rejected a bulk request because it was larger than the size OpenSearch accepts. To fix it, send smaller requests. Use one or both of these options:
  • Lower the batch size: Go to Settings > Features > Applications and open Data Insights. On the Configuration tab, lower Batch Size from 100 to 10, and then save. Click Run now to run the application again.
  • Lower the payload size: Set the ELASTICSEARCH_PAYLOAD_BYTES_SIZE server setting (elasticsearch.payLoadSize in openmetadata.yaml) to a value below the request size your OpenSearch cluster accepts, and then restart the server. It’s the maximum size, in bytes, of one bulk request that the Data Insights application sends. The default is 10485760 (10 MB). This setting is separate from the Payload Size option of the Search Indexing application.
Running a backfill or turning on Recreate DataInsights DataAssets Index doesn’t fix this error. Recreating the index also deletes your DataAssets, so you need a backfill afterward.

Key Performance Indicators (KPI)

Define the KPIs and set goals for documentation, and ownership.