The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Industrial IoT Open Source Tools and Libraries

Demo applications, libraries and SDKs as well as useful connectivity tools which are maintained and released as open source software.

mdsp prepare-bulk Command¶

Syntax:

mdsp prepare-bulk

Help:

mdsp prepare-bulk --help

Alternative form:

mc prepare-bulk

(The CLI was using mc as default command name in older versions)

Description¶

creates a template directory for timeseries (bulk) upload *

Usage¶

Parameter list:

Usage: mdsp prepare-bulk|pb [options]

creates a template directory for timeseries (bulk) upload *

Options:
 -d, --dir config file with agent configuration (default: "bulkupload")
 -w, --twintype twintype of asset [performance|simulation]
 -i, --assetid Insights Hub asset id
 -t, --typeid typeid e.g. castidev.Engine
 -s, --size entries per file (default: "100")
 -f, --files generated files (default: "2")
 -o, --offset offset in days from current date (default: "0")
 -y, --retry retry attempts before giving up (default: "3")
 -k, --passkey passkey
 -v, --verbose verbose output
 -h, --help display help for command

Examples¶

Here are some examples of how to use the mdsp prepare-bulk command:

 Examples:

 mdsp prepare-bulk --typeid castidev.Engine this creates a directory called bulkimport for new asset of type castidev.Engine
 mdsp pb --dir asset1 -i 123456...abc this creates a directory called asset1 for existing asset
 mdsp pb -of 3 -t castidev.Engine start data creation template 3 days before now

 use --mode performance for standard data generation or --mode simulation for high frequency data generation 
 The typeid must be derived from core.basicdevice and asset twintype must be simulation for high frequency data upload

See Insights Hub API documentation for more information about Insights Hub APIs.