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 unixtime_millis to inject plugin helper #3145

Merged
merged 1 commit into from
Oct 9, 2020

Commits on Oct 8, 2020

  1. Support unixtime_millis

    It is useful to add timestamp as milliseconds since Unix epoch.
    This is the short hand to add the filed using filter
    record_transformer like followings:
    
    ```
    <filter>
      @type record_transformer
      enable_ruby
      <record>
        time ${time.to_f.floor(3) * 1000}
      </record>
    </filter>
    ```
    
    Signed-off-by: okkez <okkez000@gmail.com>
    okkez committed Oct 8, 2020
    Configuration menu
    Copy the full SHA
    b5b6d9a View commit details
    Browse the repository at this point in the history