Now, let's connect RedisInsight to a Redis Server. We can start by connecting to redis server running on localhost. If the connection is successful, you should start seeing statistics for this redis server. Note - Troubleshooting: RedisInsight can only connect to redis servers that your redis-cli can connect to. If RedisInsight cannot connect to your redis server, check if you can connect using redis-cli On mac and windows, if localhost does not work, try host.
RedisInsight Overview provides you the quick overview about your Redis instance through graphical representation. It displays the total memory and keys for your instance. Number of connections received, clients connected, Network input and output and various other information.
RedisInsight Cluster Management provides you with a GUI to manage your Redis Cluster with ease. Cluster Management comes with three different views to analyze your cluster architecture. Master Layout - This view only contains information about the masters present in the Redis Cluster. The information present is - slot ranges, host, port and few metrics gathered from redis INFO Command. Master-Replica Layout - This view contains masters along with their replicas.
RedisInsight CLI lets you run commands against a redis server. You don't need to remember the syntax - the integrated help shows you all the arguments and validates your command as you type.
RedisInsight Memory analysis help you analyze your redis instance and helps in reducing memory usage and improving application performance. Analysis can be done in two ways: online mode - In this mode, RedisInsight downloads a rdb file from your connected redis instance and analyzed it to create a temp file with all the keys and meta data required for analysis. In case, there is a master-slave connection, RedisInsight downloads the dump from the slave instead of the master in order to avoid affecting the performance of the master.
RedisInsight Profiler runs Redis MONITOR command, which analyzes every command sent to the redis instance. It parses the output of the MONITOR command and generates a summarized view. All the commands sent to the redis instance are monitored for the duration of the profiling. Profiler gives information about the number of commands processed, commands/second and number of connected clients. It also gives information about top prefixes, top keys and top commands.
RedisInsight Slowlog is a list of slow operations for your redis instance. These can be used to troubleshoot performance issues. Each entry in the list displays the command, duration and timestamp. Any transaction that exceeds slowlog-log-slower-than microseconds are recorded up to a maximum of slowlog-max-len after which older entries are discarded. Clear Slowlog - Clear slowlog clears all the slowlog entries from your redis server.
RedisInsight configuration allows to update your redis instance's config with its easy to use config editor. Each of the keys shown corresponds to an entry in the Redis configuration file. Most of the configuration settings can be applied without restarting the server. Also, it comes with an option of rewriting your current settings to your redis.conf file so that these settings remain even when server restarts. Configurations are also separated into categories like- Advanced config, Security, Lua Scripting etc.
RedisInsight detects java serialized objects and converts them to a nicely formatted JSON object, along with the fully qualified class name. It doesn't matter what you store. Whether it is a hibernate object, or a user session or a plain old java object, RedisInsight reverse-engineers and show it to you nicely. Just for fun, we tried out how such an object would look without the formatting. Total garbage.
Logs To get detailed information about errors in RedisInsight, you can review the log files with the .log extension in: Docker: In the /db/ directory inside the container. Mac: In the /Users/<your-username>/.redisinsight directory. Windows: In the C:\Users\<your-username>\.redisinsight directory. Linux: In the /home/<your-username>/.redisinsight directory.