Redis info metricsetedit

The Redis info metricset collects information and statistics from Redis by running the INFO command and parsing the returned result.

Fieldsedit

For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset:

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "beat": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "metricset": {
        "host": "redis:6379",
        "module": "redis",
        "name": "info",
        "rtt": 115
    },
    "redis": {
        "info": {
            "clients": {
                "biggest_input_buf": 0,
                "blocked": 0,
                "connected": 1,
                "longest_output_list": 0
            },
            "cluster": {
                "enabled": false
            },
            "cpu": {
                "used": {
                    "sys": 12.45,
                    "sys_children": 12.44,
                    "user": 0.09,
                    "user_children": 0.1
                }
            },
            "memory": {
                "allocator": "jemalloc-4.0.3",
                "max": {
                    "policy": "noeviction",
                    "value": 0
                },
                "used": {
                    "lua": 37888,
                    "peak": 822240,
                    "rss": 593920,
                    "value": 822240
                }
            },
            "persistence": {
                "aof": {
                    "bgrewrite": {
                        "last_status": "ok"
                    },
                    "enabled": false,
                    "rewrite": {
                        "current_time": {
                            "sec": -1
                        },
                        "in_progress": false,
                        "last_time": {
                            "sec": -1
                        },
                        "scheduled": false
                    },
                    "write": {
                        "last_status": "ok"
                    }
                },
                "loading": false,
                "rdb": {
                    "bgsave": {
                        "current_time": {
                            "sec": -1
                        },
                        "in_progress": false,
                        "last_status": "ok",
                        "last_time": {
                            "sec": -1
                        }
                    },
                    "last_save": {
                        "changes_since": 1,
                        "time": 1512631228
                    }
                }
            },
            "replication": {
                "backlog": {
                    "active": 0,
                    "first_byte_offset": 0,
                    "histlen": 0,
                    "size": 1048576
                },
                "connected_slaves": 0,
                "master_offset": 0,
                "role": "master"
            },
            "server": {
                "arch_bits": "64",
                "build_id": "114b37021fc87cd9",
                "config_file": "",
                "gcc_version": "5.3.0",
                "git_dirty": "0",
                "git_sha1": "00000000",
                "hz": 10,
                "lru_clock": 2682485,
                "mode": "standalone",
                "multiplexing_api": "epoll",
                "os": "Linux 4.9.49-moby x86_64",
                "process_id": 1,
                "run_id": "3dfbdd0880c8f3f6345e4add6d7cc6f0210ebe29",
                "tcp_port": 6379,
                "uptime": 697,
                "version": "3.2.4"
            },
            "stats": {
                "commands_processed": 3,
                "connections": {
                    "received": 111,
                    "rejected": 0
                },
                "instantaneous": {
                    "input_kbps": 0.05,
                    "ops_per_sec": 1,
                    "output_kbps": 1.32
                },
                "keys": {
                    "evicted": 0,
                    "expired": 0
                },
                "keyspace": {
                    "hits": 0,
                    "misses": 0
                },
                "latest_fork_usec": 0,
                "migrate_cached_sockets": 0,
                "net": {
                    "input": {
                        "bytes": 113
                    },
                    "output": {
                        "bytes": 2160
                    }
                },
                "pubsub": {
                    "channels": 0,
                    "patterns": 0
                },
                "sync": {
                    "full": 0,
                    "partial": {
                        "err": 0,
                        "ok": 0
                    }
                }
            }
        }
    }
}