Defining a set of related log formats sharing common subset of fields #1528
Unanswered
piotr-dobrogost
asked this question in
Q&A
Replies: 2 comments 1 reply
I'm not really a fan of adding any sort of hierarchy. It tends to make things really complicated and hard to reason about. I would just copy and paste between formats. If you really wanted to go further, you could write a python script or something to generate the files since it's easy to spit out a bunch of JSON. Really, though, some concrete examples of what you're after would help me understand what you're after. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a couple log types (each log is in JSON Lines format) where there are fields common to all types and where each type adds additional fields specific to this type.
I would like to create log formats for them but in a way where I define common subset of fields only once and reference this subset in each format.
In other words I would like to create a base log format and create additional formats by extending this base format.
Is this possible?
All reactions