17

Is there an easy way to see what's in my Redis Cache on Azure? I mean some type of tool?

I know how to do it programmatically but sometimes while writing code, I want to be able to quickly see what's in my Redis cache without having to switch to some other code.

Sam
  • 26,817
  • 58
  • 206
  • 383

1 Answers1

18

Besides programming, generally, there are two ways to explore the data on Azure Redis Cache, which include Azure Redis Console on Azure portal or Redis clients like the standard client redis-cli.

  1. Using Azure Redis Console on Azure portal, please see the offical tutorial Redis console.
  2. Using redis clients. If you are using Windows, you can download Redis on Windows which be released by MSFT. After install it, you can find the redis tool called redis-cli.exe and use it to connect Azure Redis Cache as below.

    If not enabled ssl, type in CMD as below.

    C:> redis-cli.exe -h <your redis cache name>.redis.cache.windows.net -p 6379 -a <access key>
    

    Or you can use the third party GUI client, such as Redis Desktop Manager (cross-platform), Redis Studio (only for Windows).

Fig 1. Using Redis Desktop Manager to connect Azure Redis Cache within SSL enter image description here

Hope it helps. Any concern, please feel free to let me know.

Peter Pan
  • 23,476
  • 4
  • 25
  • 43