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


- Click on read more for Data Insights application.

- Install the Data Insights application.

- 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.


- 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.


- Click on Run now to setup the ingestion 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.

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 ofopenmetadata.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:
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_SIZEserver setting (elasticsearch.payLoadSizeinopenmetadata.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 is10485760(10 MB). This setting is separate from the Payload Size option of the Search Indexing application.
Key Performance Indicators (KPI)
Define the KPIs and set goals for documentation, and ownership.