Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit f8db33e

Browse files
author
Chris Wiechmann
authored
[skip ci] Improved memcache help
1 parent f0a01bc commit f8db33e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ docker exec apibuilder4elastic wget --no-check-certificate https://localhost:844
949949

950950
### Check Caching
951951

952-
The solution uses Memcache in API Builder & Logstash to avoid unnecessary duplicate queries for APIs and users. To check if entries are cached correctly, you can connect to the memcached via telnet. Some examples:
952+
The solution uses Memcache in API Builder & Logstash to avoid unnecessary duplicate queries for APIs and users. To check if entries are cached correctly, you can connect to the memcached via `telnet localhost 11211`. Some examples:
953953
```
954954
stats cachedump 2 0
955955
ITEM ignoredAPIs:###Health Check [19 b; 1609979360 s]
@@ -965,6 +965,14 @@ END
965965
```
966966
This holds the index creation status used by API-Builder & Logstash to determine if an indicies needs to be created or not.
967967

968+
To get a key, for instance the version check status:
969+
```
970+
get version_status:versionCheck
971+
VALUE version_status:versionCheck 1 89
972+
{I"
973+
message:ETI"'Filebeat and Logstash version okay;TI"versionStatus;TI"ok;T
974+
END
975+
968976
You can find additional information here: https://techleader.pro/a/90-Accessing-Memcached-from-the-command-line. You may also use [PHPMemcachedAdmin](https://github.com/elijaa/phpmemcachedadmin) to get insights about the Memcache instance.
969977
970978
## FAQ

0 commit comments

Comments
 (0)