Skip to main content

MarkLogic Server on Kubernetes

Run mlcp to ingest data

Run mlcp to ingest data. The example below shows an options file configured to ingest a CSV file. Once the file is ready, use the command mlcp.sh -options_file import.txt to ingest the file. For additional 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