Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  content tree config: d371045d-3778-4fd7-ad64-3942ebc027fa
    url: brycedianomic/fledge_osdu, format: CONTAINER, sha:
    size: 0, name: dianomic-fledge

Log Search Commands

The 'log' command is used to search for log entries for the device and applications. Even through the logs are normally uploaded to the controller side, the users of the enterprise may not have the capability to search in the cloud. The application logs depends on the setting, it can be configured not to upload, then to only way to view them is through this 'log search' in EdgeView if needed.

log/<search string> [-time <start>-<end>] [-json] [-type <app|dev>] - display log with search-string, default is now to 30 mins ago

  e.g. log/panic -time 0.2-2.5 -- display log contains 'panic', from 0.2 to 0.5 hours ago

       log/Clock -type app -- display previous 30 minutes log contains 'Clock' in app log

       log/certificate -time 2021-08-15T23:15:29Z-2021-08-15T22:45:00Z -json -- display log during the specified time in RFC3339 format which contains 'certificate' in json format

       log/copy-logfiles -time 2022-02-15T22:25:00Z-2022-02-15T22:40:00Z -- 'copy-logfiles' is reserved usage, to download all logfiles in the specified time duration, maximum time frame is 30 minutes


Pub/Sub Commands

The 'pub' commands are meant for users who have extensive EVE internal knowledge. EVE-OS has many services, e.g. 'zedagent', 'zedrouter', etc. Each service publishes some configuration or status for other services to consume or subscribe. All those publications reflect the current state of EVE operation. When troubleshooting a problem, sometimes one needs to know what a service is publishing to see if it is correct. The majority of the publications is in directory '/run/<service-name>/'. A service can publish one or more types of data, which locates in it's sub-directories.

...