Sha256: d781d31a0b5ee8fa9809ca05d6fb6599cac80295517282f772ed656c7113cbfc
Contents?: true
Size: 870 Bytes
Versions: 5
Compression:
Stored size: 870 Bytes
Contents
# fluent-plugin-elasticsearch-timestamp-check Fluent plugin to ensure @timestamp is in correct format for elasticsearch ## Install ```bash gem install fluent-plugin-elasticsearch-timestamp-check ``` ## Description The purpose of this filter is to make sure the @timestamp field exists in the record which is necessary for the record to be indexed properly by elasticsearch. * If *@timestamp* field already exists, it will ensure the format is correct by parse and convert to format '%Y-%m-%dT%H:%M:%S%z'. * If a field named *timestamp* exists, it will parse that field and conver it to format '%Y-%m-%dT%H:%M:%S%z' then store it in *@timestamp* field. * If neither of the above field exists, it will insert current time in '%Y-%m-%dT%H:%M:%S%z' format as the *@timestamp* field. ## Usage ``` <filter **> type elasticsearch_timestamp_check </filter> ```
Version data entries
5 entries across 5 versions & 1 rubygems