marmotdata/redis
Discover databases from Redis instances
The Redis plugin discovers logical databases (db0–db15) from Redis instances. It uses the INFO command to collect server metadata and parses the Keyspace section to identify databases that contain keys.
A database is identified in its MRN by its number alone (db0), because a Redis server has no name of its own. Set zone to a short name such as sessions for each server so that two servers do not share the same db0 asset. The name is one you choose, not a cloud availability zone.
Required Permissions
The connecting user needs permission to run the INFO command. By default all users can run INFO, but if you are using Redis ACLs:
ACL SETUSER marmot_reader on >password ~* &* +info +ping +select
In the UI
Point and click, no config file needed.
- Open Runs and choose Create pipeline.
- Pick Redis from the plugin list.
- Fill in the settings, set a schedule and save.
With the CLI
Save a YAML config, then run marmot ingest.
Not using plugins? Other ways to populate Marmot
Configuration
Fields marked Required must be set.
tagsList of textTags to apply to discovered assets
external_linksList of groupsExternal links to show on all assets
nameTextDisplay name for the link
iconTextIcon identifier for the link
urlTextURL to the external resource
filterGroup of settingsFilter discovered assets by name (regex)
includeList of textInclude patterns for resource names (regex)
excludeList of textExclude patterns for resource names (regex)
zoneTextTells this system apart from others of the same technology and becomes part of every asset's MRN
hostText RequiredRedis server hostname or IP address
portNumberRedis server port
passwordSecretPassword for authentication
usernameTextUsername for ACL authentication
dbNumberDefault database number
tlsYes or noEnable TLS connection
tls_insecureYes or noSkip TLS certificate verification
discover_all_databasesYes or noDiscover all databases with keys (db0-db15)
Assets emitted
Metadata this plugin attaches to each discovered asset.
Database
RedisDatabaseFields defines metadata fields for Redis databases