Skip to content

Instantly share code, notes, and snippets.

@corneliusroemer
Created April 23, 2020 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corneliusroemer/8ba9fada9efc153b945dfc4a4fbd5675 to your computer and use it in GitHub Desktop.
Save corneliusroemer/8ba9fada9efc153b945dfc4a4fbd5675 to your computer and use it in GitHub Desktop.
JQ fix of inconsistent timestamps
jq 'if .topic == "devices_overview" then .timestamp = (.timestamp * 1000 | round | tostring) else . end' <out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment