Replies: 1 comment
-
Hi @Kuvesz The Glances API is designed to return a key: value. Nevertheless, you can use a simple jq command to extract the value. Example with key: value:
Example with values (list):
Example with value (first item of the list):
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Hi! This may be a stupid question but I'm not really sure how I'm supposed to get only the
value
field from a response like the one I posted below. Any help regarding this would be appreciated!Versions
Glances v3.2.4.2 with PsUtil v5.8.0
Debian 11
Using the docker image
Configuration and log file
Beta Was this translation helpful? Give feedback.
All reactions