Arangoimport Options

Usage: arangoimport [<options>]

Global Options

NameTypeDescription
backslash-escapebooleanUse backslash as the escape character for quotes, used for csv.
Default: false
batch-sizeuint64Size for individual data batches (in bytes).
Default: 1048576
collectionstringCollection name.
Default: ""
configurationstringThe configuration file or 'none'.
Default: ""
convertbooleanConvert the strings 'null', 'false', 'true' and strings containing numbers into non-string types (csv and tsv only).
Default: true
create-collectionbooleanCreate collection if it does not yet exist.
Default: false
create-collection-typestringType of collection if collection is created (edge or document).
Default: "document"
Possible values:
  • "document"
  • "edge"
create-databasebooleanCreate the target database if it does not exist.
Default: false
filestringFile name ("-" for STDIN).
Default: ""
from-collection-prefixstring_from collection name prefix (will be prepended to all values in '_from').
Default: ""
ignore-missingbooleanIgnore missing columns in csv input.
Default: false
latencybooleanShow 10 second latency statistics (values in microseconds).
Default: false
on-duplicatestringAction to perform when a unique key constraint violation occurs. Possible values: ignore, replace, update, error.
Default: "error"
Possible values:
  • "error"
  • "ignore"
  • "replace"
  • "update"
overwritebooleanOverwrite collection if it exist (WARNING: this will remove any data from the collection).
Default: false
progressbooleanShow progress.
Default: true
quotestringQuote character(s), used for csv.
Default: "\""
remove-attributestring...Remove an attribute before inserting an attribute into a collection (for csv and tsv only).
Default: []
separatorstringField separator, used for csv and tsv.
Default: ""
skip-linesuint64Number of lines to skip for formats (csv and tsv only).
Default: 0
threadsuint32Number of parallel import threads. Most useful for the rocksdb engine.
Default: 2
to-collection-prefixstring_to collection name prefix (will be prepended to all values in '_to').
Default: ""
translatestring...Translate an attribute name (use as --translate "from=to", for csv and tsv only).
Default: []
typestringType of import file.
Default: "json"
Possible values:
  • "auto"
  • "csv"
  • "json"
  • "jsonl"
  • "tsv"
versionbooleanReports the version and exits.
Default: false

Log Options

NameTypeDescription
log.colorbooleanUse colors for TTY logging.
Default: true
log.escapebooleanEscape characters when logging.
Default: true
log.levelstring...The global or topic-specific log level.
Default: ["info"]
log.outputstring...Log destination(s).
Default: []
log.rolebooleanLog server role.
Default: false
log.use-local-timebooleanUse local timezone instead of UTC.
Default: false
log.use-microtimebooleanUse microtime instead.
Default: false

Server Options

NameTypeDescription
server.authenticationbooleanRequire authentication credentials when connecting (does not affect the server-side authentication settings).
Default: false
server.connection-timeoutdoubleConnection timeout in seconds.
Default: 5
server.databasestringDatabase name to use when connecting.
Default: "_system"
server.endpointstringEndpoint to connect to, use 'none' to start without a server.
Default: "http+tcp://127.0.0.1:8529"
server.passwordstringPassword to use when connecting. If not specified and authentication is required, the user will be prompted for a password.
Default: ""
server.request-timeoutdoubleRequest timeout in seconds.
Default: 1200
server.usernamestringUsername to use when connecting.
Default: "root"

Ssl Options

NameTypeDescription
ssl.protocoluint64Ssl protocol (1 = SSLv2, 2 = SSLv2 or SSLv3 (negotiated), 3 = SSLv3, 4 = TLSv1, 5 = TLSV1.2).
Default: 5
Possible values:
  • 1
  • 2
  • 3
  • 4
  • 5

Temp Options

NameTypeDescription
temp.pathstringPath for temporary files.
Default: ""