Skip to content

iectl ied log-streaming configure

configure device metrics and log data on device for stream based logging. Use --file argument to provide valid configuration file in json format, this will overwrite previous configurations. To avoid data loss, please backup (export) the configurations before importing new configurations.

Synopsis

This command configures log streaming settings directly on an Industrial Edge Device. It accepts a JSON configuration file that defines log levels, filtering rules, output destinations, field mappings, and other streaming parameters.

iectl ied log-streaming configure [flags]

Options

      --file                path of the streaming log configuration file exported file from device ui or using 'iectl ied log-streaming export' command.
                            The file should be in JSON format and contains all existing configurations and settings as displayed in the web UI.
                            You can modify the file to change the settings. Please ensure that the file adheres to the correct JSON formatand structure as shown in the exported file. Use this modified file to apply new settings to your device
  -h, --help                help for configure

NOTICE

To avoid data loss, please backup (export) the configurations before importing new configurations.

Options inherited from parent commands

  -o, --output string   output format
  -q, --query string    query on result of object
  -v, --verbose         verbose output

Example

iectl ied log-streaming configure --file "/path/to/file" 

SEE ALSO

  • iectl ied log-streaming - import and export streaming logs settings on device using subcommands like 'iectl ied log-streaming configure'

  • iectl ied log-streaming export - export log streaming settings from device, useful to take backup and restore configurations or apply to another device using 'iectl ied log-streaming configure' directly on device or 'iectl iem device log-streaming configure' via Industrial Edge Management