Run mlcp to ingest data
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Documentation
Run mlcp to ingest data. The example below shows an options file configured to ingest a CSV file. After preparing the file, use the command mlcp.sh -options_file import.txt to ingest the file. For more information on data ingestion, see the mlcp User Guide.
import
-username
your_username
-password
your_password
-host
marklogic-0.marklogic-headless.default.svc.cluster.local,marklogic-1.marklogic-headless.default.svc.cluster.local
-port
8000
-document_type
json
-input_file_path
data.txt
-input_file_type
delimited_text