Sha256: 4fc8d948eae0ee20de43fab164eafe7fabc77bf8b9a8336ac213bd9abf83b004

Contents?: true

Size: 816 Bytes

Versions: 1

Compression:

Stored size: 816 Bytes

Contents

# fluent-plugin-tail-ex-rotate
===================================

fluent-plugin-tail-ex-rotate is a fluentd plugin to extend file lotation time.

## Install

```sh
gem install fluent-plugin-tail-ex-rotate
```

## Test

```sh
rake test
```

## Setting

The setting of fluent-plugin-tail-ex-rotate is roughly the same with in_tail built-in plugin.
A defference between fluent-plugin-tail-ex-rotate and in_tail built-in plugin setting is "expand_rotate_time" parameter

"expand_rotate_time" parameter should be set number of second.

For example,
```xml
<source>
  type tail_ex_rotate
  path /var/log/apache2/access_log
  tag internal.eapi_nicolive_process_time
  pos_file /var/log/td-agent/httpd-access.log.pos
  time_format %d/%b/%Y:%H:%M:%S %z
  expand_rotate_time 18000
  types process_time:integer
</source>
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-tail-ex-rotate-0.0.3 README.md