Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add field format information to schema #305

Closed
andrewkroh opened this issue Jan 22, 2019 · 3 comments
Closed

Add field format information to schema #305

andrewkroh opened this issue Jan 22, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@andrewkroh
Copy link
Member

andrewkroh commented Jan 22, 2019

It would be nice to supply additional information about formatting that can be used as a hint to anything that renders that field. For example indicate that client.bytes is bytes and could be formatted as 10KB or 100GB. Or indicate that event.duration is a time value given as nanoseconds.

- name: client.bytes
  format: bytes

- name: event.duration
  format: duration
  input_format: nanoseconds

Relates: elastic/beats#10184

@andrewkroh andrewkroh added the enhancement New feature or request label Jan 22, 2019
@webmat
Copy link
Contributor

webmat commented Jan 22, 2019

Yes, agreed.

Pretty sure we can include in GA too. It's not a breaking change, just an enhancement.

@ruflin
Copy link
Contributor

ruflin commented Jan 22, 2019

++ on adding it now and backport.

@jamiehynds
Copy link
Contributor

Closing this as was added to ECS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants