User Tools

Site Tools


code:linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:
 </code> </code>
  
 +**Inplace decode all k8s secrets values**
 +
 +<code bash>
 +kubectl get secrets postgres-secrets -o json | jq '.data | map_values(@base64d)'
 +</code>
code/linux.1699655534.txt.gz · Last modified: 2023/11/10 23:32 by hansek