Skip to content

queue job from logsearch/201.0.15

Github source: 75843709 or master branch

Properties

redis

key

Name of queue to pull messages from

Default
logstash

maxmemory

Maximum amount of memory to be used by Redis. The default value NINETY_PERCENT_OF_RAM is an environment variable initialized in redis_ctl. Typically you would specify an exact value in bytes.

Default
NINETY_PERCENT_OF_RAM
Example
8.523874304e+09

maxmemory-policy

How Redis will select what to remove when maxmemory is reached. Possible values are volatile-lru, allkeys-lru, volatile-random, allkeys-random, volatile-ttl, and noeviction.

Default
volatile-lru

port

Redis port of queue

Default
6379

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/queue/ directory (learn more).

  • bin/monit_debugger (from bin/monit_debugger)
  • bin/redis_ctl (from bin/redis_ctl)
  • config/redis.conf (from config/redis.conf.erb)
  • data/properties.sh (from data/properties.sh.erb)
  • helpers/ctl_setup.sh (from helpers/ctl_setup.sh)
  • helpers/ctl_utils.sh (from helpers/ctl_utils.sh)
  • logsearch/metric-collector/redis/collector (from logsearch/metric-collector/redis/collector)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.