Sha256: bcc61e1acef46c9eaf77b193daa28c49b8d5ded5660b2db2b7eb12e4d5db388f
Contents?: true
Size: 1010 Bytes
Versions: 1
Compression:
Stored size: 1010 Bytes
Contents
<source> type forward </source> <match access_log.**> type online_user flush_interval 10s #redis configuration #host localhost #port 6379 #db_index 0 #redis_try 3 #inactive timeout, default 30 minutes #session_timeout 1800 # prefix of the keys stored into Redis #redis_key_prefix counter:online_user: # how do you define unique user ? # the default is to find 'uid' field in record # for support both members and non-members, try: #user_identify uid|ip #emit online user count event periodically or not #silent false #the tag prefix for emitted event #tag online_user #besides counting the overall online users #also wanna count online users for each segment ? #if so, use the segment directive #segmented by tag #segment tag #segmented by a specified field #segment service #segmented by regexp-captured string #the format is: capture __FIELD__ __REGEXP__ #segment capture name /^\w+:(\w+):/ </match> <match **> type stdout </match>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-onlineuser-0.0.1 | test/fluentd.conf |