Skip to content

Usage of generated Go types #603

@hamishforbes

Description

@hamishforbes

Are the generated types in this repo actually intended to be usable or are they a WIP / experiment that's not ready yet?

I'm working on a tool to filter and re-structure our logging data at the edge (before shipping from hosts to save network bandwidth and also Logstash resource usage), being able to use these generated types to validate outgoing messages are correctly formed would be very useful.

However the current generated code doesn't seem quite ready. It's got these custom ecs tags and dot-format field names which the default Go JSON marshaller doesn't understand.

Is there intended to be a custom marshaller to go along with these?

Related to #343 but the refactor PR mentioned in that issue is already merged without fixing any of these issue that I can see?

Metadata

Metadata

Assignees

Labels

wontfixThis will not be worked on

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions