Deux v0.1.1 Deux.Redis View Source

Handle the redis sources and services integirty checks

Link to this section Summary

Functions

Adds the remote redis source, load local reports and start worker

Link to this section Functions

Adds the remote redis source, load local reports and start worker

Params

  • name: the name of the given source
  • url: the url from the redis service to connect
  • filters: a list of values you want to monitor via regex or strings
    • regex: fetch all keys and filter programaticly with reges
    • string: redis string filters

Examples

iex> srv = Deux.Redis.add(name: "localhost", url: "redis://127.0.0.1:6379", filters: [%{filter: "flag:*"}])
iex> srv = Deux.Redis.add(name: "localhost", url: "redis://127.0.0.1:6379", filters: [%{regex: ~r/flag.*/}])