stack kb apm-sourcemaps upload-source-map cli command

Auth required
elastic stack kb apm-sourcemaps upload-source-map \
  --bundle-filepath <bundle-filepath> \
  --service-name <service-name> \
  --service-version <service-version> \
  --sourcemap <sourcemap> \
  [options]
		

Upload a source map

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--bundle-filepath string required
The absolute path of the final bundle as used in the web application.
--service-name string required
The name of the service that the service map should apply to.
--service-version string required
The version of the service that the service map should apply to.
--sourcemap string required
The source map. It can be a string or file upload. It must follow the
--input-file string
path to a JSON file to use as command input
--dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--no-validate
skip input validation and send the request as-is
--output-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json

output as JSON