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

Added Unix epoch timestamp support for JSON parser #4633

Merged
merged 5 commits into from
Sep 7, 2018
Merged

Added Unix epoch timestamp support for JSON parser #4633

merged 5 commits into from
Sep 7, 2018

Commits on Sep 4, 2018

  1. Added Unix epoch timestamp support for JSON parser. Corresponding tes…

    …t and doc updated.
    
    If parsing a Unix epoch timestamp, e.g. 1536092344000, "json_time_format" config must be set to "Unix"; corresponding JSON value must be in milliseconds and unquoted.
    drenizg committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    092bd26 View commit details
    Browse the repository at this point in the history
  2. gofmt fixes.

    drenizg committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    2e365ed View commit details
    Browse the repository at this point in the history
  3. "unix" option now handles epoch in seconds (with decimal part support).

    Added "unix_ms" variation to handle epoch in milliseconds.
    
    Both values are now case insensitive.
    
    Docs and tests updated accordingly.
    drenizg committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    bf1eb82 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. Added support to parse unix timestamps coming as strings fields, with…

    … no decimal precision loss.
    
    For decimal unix timestamps coming as numeric JSON fields, there can be precision loss due to `float64` conversion at `JSONFlattener`.
    
    Docs and tests updated accordingly.
    drenizg committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    76f49cf View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2018

  1. Configuration menu
    Copy the full SHA
    37548b8 View commit details
    Browse the repository at this point in the history