Skip to content

set log-forwarding error #527

@purplecabbage

Description

@purplecabbage

$ aio app config set log-forwarding
? select log forwarding destination Splunk HEC
? host [url hidden]
? port 443
? index [index hidden]
? hec_token [hidden]
Log forwarding is set to 'splunk_hec'
› Error: Cannot read property 'workspace' of undefined
$ aio app config get log-forwarding
› Error: Cannot read property 'workspace' of undefined

Environment Info

  $ aio info

  System:
    OS: macOS 10.15.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 1.08 GB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 14.16.1 - /usr/local/bin/node
    Yarn: Not Found
    npm: 7.14.0 - /usr/local/bin/npm
  Virtualization:
    Docker: Not Found
  npmGlobalPackages:
    @adobe/aio-cli: 8.3.0

  Proxies:
    http: (not set)
    https: (not set)
  CLI plugins:
    core:
      @adobe/aio-cli 8.3.0
      @adobe/aio-cli-plugin-app 8.6.1
      @adobe/aio-cli-plugin-auth 2.6.0
      @adobe/aio-cli-plugin-certificate 0.3.1
      @adobe/aio-cli-plugin-config 3.0.1
      @adobe/aio-cli-plugin-console 3.4.2
      @adobe/aio-cli-plugin-events 1.1.6
      @adobe/aio-cli-plugin-info 2.1.0
      @adobe/aio-cli-plugin-runtime 5.4.0
      @oclif/plugin-autocomplete 0.3.0
      @oclif/plugin-help 3.3.1
      @oclif/plugin-not-found 2.3.1
      @oclif/plugin-plugins 1.10.11
      @oclif/plugin-warn-if-update-available 1.7.3
    user:
    link:

Sample Code that illustrates the problem

Logs taken while reproducing problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions