This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
code:linux [2023/11/10 23:32] hansek |
code:linux [2023/11/11 00:39] (current) hansek [jq] |
||
---|---|---|---|
Line 313: | Line 313: | ||
===== jq ===== | ===== jq ===== | ||
+ | |||
+ | **Inplace transform Unix timestamp to Datetime inside json log** | ||
<code bash> | <code bash> | ||
Line 318: | Line 320: | ||
</ | </ | ||
+ | **Inplace decode all k8s secrets values** | ||
+ | |||
+ | <code bash> | ||
+ | kubectl get secrets postgres-secrets -o json | jq '.data | map_values(@base64d)' | ||
+ | </ |