Arangoimport Options

Usage: arangoimport [<options>]

Global Options

NameTypeDescription
backslash-escapeboolean Use backslash as the escape character for quotes, used for csv.
This option can be specified without value to enable it.
Default: false
batch-sizeuint64 Size for individual data batches (in bytes).
Default: 1048576
check-configurationboolean Check the configuration and exit.
This is a command, no value needs to be specified. The process terminates after executing the command.
Default: false
collectionstring Collection name.
Default: ""
configstring The configuration file or 'none'.
Default: ""
configurationstring The configuration file or 'none'.
Default: ""
convertboolean Convert the strings 'null', 'false', 'true' and strings containing numbers into non-string types (csv and tsv only).
This option can be specified without value to enable it.
Default: true
create-collectionboolean Create collection if it does not yet exist.
This option can be specified without value to enable it.
Default: false
create-collection-typestring Type of collection if collection is created (edge or document).
Default: "document"
Possible values:
  • "document"
  • "edge"
create-databaseboolean Create the target database if it does not exist.
This option can be specified without value to enable it.
Default: false
definestring... Define key=value for a @key@ entry in config file.
Default: []
dump-dependenciesboolean Dump dependency graph.
This is a command, no value needs to be specified. The process terminates after executing the command.
Default: false
dump-optionsboolean Dump configuration options in JSON format.
This is a command, no value needs to be specified. The process terminates after executing the command.
Default: true
filestring File name ("-" for STDIN).
Default: ""
from-collection-prefixstring _from collection name prefix (will be prepended to all values in '_from').
Default: ""
ignore-missingboolean Ignore missing columns in csv input.
This option can be specified without value to enable it.
Default: false
latencyboolean Show 10 second latency statistics (values in microseconds).
This option can be specified without value to enable it.
Default: false
logstring... The global or topic-specific log level.
Default: ["info"]
on-duplicatestring Action to perform when a unique key constraint violation occurs. Possible values: ignore, replace, update, error.
Default: "error"
Possible values:
  • "error"
  • "ignore"
  • "replace"
  • "update"
overwriteboolean Overwrite collection if it exist (WARNING: this will remove any data from the collection).
This option can be specified without value to enable it.
Default: false
progressboolean Show progress.
This option can be specified without value to enable it.
Default: true
quotestring Quote character(s), used for csv.
Default: "\""
remove-attributestring... Remove an attribute before inserting an attribute into a collection (for csv and tsv only).
Default: []
separatorstring Field separator, used for csv and tsv.
Default: ""
skip-linesuint64 Number of lines to skip for formats (csv and tsv only).
Default: 0
threadsuint32 Number 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: []
typestring Type of import file.
Default: "json"
Possible values:
  • "auto"
  • "csv"
  • "json"
  • "jsonl"
  • "tsv"
versionboolean Reports the version and exits.
This is a command, no value needs to be specified. The process terminates after executing the command.
Default: false

Log Options

NameTypeDescription
log.colorboolean Use colors for TTY logging.
This option can be specified without value to enable it.
Default: true
log.escapeboolean Escape characters when logging.
This option can be specified without value to enable it.
Default: true
log.filestring Shortcut for '--log.output file://<filename>'.
Default: "-"
log.force-directboolean Do not start a seperate thread for logging.
This option can be specified without value to enable it.
Default: false
log.foreground-ttyboolean Also log to tty if backgrounded.
This option can be specified without value to enable it.
Default: false
log.keep-logrotateboolean Keep the old log file after receiving a sighup.
This option can be specified without value to enable it.
Default: false
log.levelstring... The global or topic-specific log level.
Default: ["info"]
log.line-numberboolean Append line number and file name.
This option can be specified without value to enable it.
Default: false
log.outputstring... Log destination(s).
Default: []
log.performanceboolean Shortcut for '--log.level performance=trace'.
This option can be specified without value to enable it.
Default: false
log.prefixstring Prefix log message with this string.
Default: ""
log.request-parametersboolean Include full URLs and HTTP request parameters in trace logs.
This option can be specified without value to enable it.
Default: true
log.roleboolean Log server role.
This option can be specified without value to enable it.
Default: false
log.shorten-filenamesboolean Shorten filenames in log output (use with --log.line-number).
This option can be specified without value to enable it.
Default: true
log.threadboolean Show thread identifier in log message.
This option can be specified without value to enable it.
Default: false
log.thread-nameboolean Show thread name in log message.
This option can be specified without value to enable it.
Default: false
log.use-local-timeboolean Use local timezone instead of UTC.
This option can be specified without value to enable it.
Default: false
log.use-microtimeboolean Use microtime instead.
This option can be specified without value to enable it.
Default: false

Random Options

NameTypeDescription
random.generatoruint32 Random number generator to use (1 = MERSENNE, 2 = RANDOM, 3 = URANDOM, 4 = COMBINED (not for Windows), 5 = WinCrypt (Windows only).
Default: 1
Possible values:
  • 1
  • 2
  • 3
  • 4

Server Options

NameTypeDescription
server.authenticationboolean Require authentication credentials when connecting (does not affect the server-side authentication settings).
This option can be specified without value to enable it.
Default: false
server.connection-timeoutdouble Connection timeout in seconds.
Default: 5
server.databasestring Database name to use when connecting.
Default: "_system"
server.endpointstring Endpoint to connect to, use 'none' to start without a server.
Default: "http+tcp://127.0.0.1:8529"
server.max-packet-sizeuint64 Maximum packet size (in bytes) for client/server communication.
Default: 1073741824
server.passwordstring Password to use when connecting. If not specified and authentication is required, the user will be prompted for a password.
Default: ""
server.request-timeoutdouble Request timeout in seconds.
Default: 1200
server.usernamestring Username to use when connecting.
Default: "root"

Ssl Options

NameTypeDescription
ssl.protocoluint64 Ssl 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.pathstring Path for temporary files.
Default: ""