Before using any of the tools to work with your database, you must first add the database so RedisInsight can connect to it. Each of these database configurations requires specific steps to add them to RedisInsight: Standalone Redis Redis cluster Redis Sentinel Redis with TLS authentication Elasticache Supported Redis Versions Currently, RedisInsight supports Redis versions 4 and newer. Add a standalone Redis database This is the simplest setup of a Redis database with just a single Redis server.
RedisInsight lets you automatically add Redis Enterprise Software (RS) and Redis Enterprise Cloud databases. Note: For auto-discovery, Redis Enterprise Cloud databases must be in a Pro subscription. Auto-discovery for Redis Enterprise Software To automatically discover and add RS databases to RedisInsight: In RedisInsight, click ADD REDIS DATABASE. Click on Automatically Discover Databases. Select Redis Enterprise. Enter the connection details and click DISCOVER DATABASES.
If you have a lot of Redis databases or you are using RedisInsight as part of some automated workflow, you might want to add databases programmatically. Now this is possible using our experimental REST API. Below is the documentation for the endpoints required to add databases. Note that this API should not be considered stable at this point and might change or break entirely in future releases. Do not rely on this API for production.
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 Browser lets you explore keys in your redis server. You can add, edit and delete a key. You can even update the key expiry and copy the key name to be used in different places of the application. Note: RedisInsight restricts visualization of keys that are greater than 2GB in size. note
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. Key Bindings Emacs and Vim keybindings are supported. Action Emacs Vim Previous history item C-p k Next history item C-n j Move cursor to the begining C-a 0 Move cursor to the end C-e $ Move cursor to the right by one character C-f h Move cursor to the left by one character C-b l Enter insert mode - i Enter normal mode - ESC
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 analyzes 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.
When RedisInsight doesn’t behave as expected, use these steps to see what the problem is. For additional configuration options, such as changing the default port, go to: https://docs.redislabs.com/latest/ri/installing/configurations/ 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>/.