os.hostname
Get the hostname
collect:
  v1:
    - os.hostname:
        output_dir: /system/hostname
Outputs
- stderr- The stdout from the command
- stdout- The stdin from the command
Shared Parameters
This spec also inherits all of the required and optional Shared Parameters