| CARVIEW |
Select Language
HTTP/2 302
content-type: text/html; charset=utf-8
location: //mitar.tnode.com/post/regex2json/
permissions-policy: interest-cohort=()
vary: Origin
x-request-id: 01KDSNYNH2A2CXZ2TZ3M6QZVAR
content-length: 57
date: Wed, 31 Dec 2025 07:46:26 GMT
HTTP/2 200
cache-control: max-age=600
content-type: text/html; charset=utf-8
etag: "32ec0177905ef13e26e5d4ccd04144f3aeb5020c7568fdfdd6a813bebd1aa9ff"
expires: Wed, 31 Dec 2025 07:56:26 UTC
last-modified: Wed, 24 Sep 2025 14:01:31 GMT
permissions-policy: interest-cohort=()
vary: Origin
x-request-id: 01KDSNYNTRTCTENJBEEEH2PJRJ
content-length: 12821
date: Wed, 31 Dec 2025 07:46:26 GMT
regex2json | Mitar's Point
Mitar's Point
Somewhere and everywhere between (computer)
science, technology, nature and (open) society.
science, technology, nature and (open) society.
Contact
regex2json
I made a simple tool regex2json in Go to convert traditional text-based (and line-based) logs to JSON for programs which do not support JSON logs themselves. But the tool is more general and can enable any workflow where you prefer operating on JSON instead of text. It works especially great when combined with jq. I was inspired by this blog post.
If you have any relevant link, project, idea, comment, feedback, critique,
language fix, or any other information, please share it bellow. Thanks.
language fix, or any other information, please share it bellow. Thanks.
- Jun 14, 2023 2:35 am
- 0 Comments
Subscribe
All content is available under Creative Commons
Attribution-ShareAlike license unless specified otherwise.
Attribute by linking.
The views and opinions are not necessary of my current or
past affiliations, nor are they necessary mine.
Not everything I write or share I agree with, e.g.,
it can be hypothetical, to provoke debate, troll, play devil's advocate,
entertain half-baked ideas,
explore new lines of thought or perspectives.
Not everything I expressed in the past I agree with today.
Linking is not endorsement.
All feedback is welcome.
He/him.