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

Commit cf3d88a

Browse files
author
Chris Wiechmann
committed
Changed payload documentation
1 parent e9e29d6 commit cf3d88a

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

README.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,7 @@ All traffic payload from these API-Gateways must be made available to the API-Bu
372372
So you need to make the existing structure available in a regional folder. For this, the region must be in lower case.
373373

374374
Please note:
375-
:point_right: Payload handling is enabled by default for the solution by the API builder. So it is assumed that you provide the payload to the API Builder container. Set the parameter: `SKIP_PAYLOAD_HANDLING=true` if you do not need this.
376-
:point_right: Payload details returned by the API-Builder doesn't contain the headers as they are shonw anyway in the previous screen
375+
:point_right: Payload handling is enabled by default. So it is assumed that you provide the payload to the API Builder container. Set the parameter: `SKIP_PAYLOAD_HANDLING=true` if you do not need this.
377376
:point_right: Payload shown in the Traffic-Monitor UI is limited to 20 KB by default. If required the payload can be downloaded completely using the `Save` option.
378377

379378
<p align="right"><a href="#table-of-content">Top</a></p>
@@ -950,14 +949,11 @@ docker exec apibuilder4elastic wget --no-check-certificate https://localhost:844
950949

951950
### Check Caching
952951

953-
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:
954-
```
955-
stats cachedump 2 0
956-
ITEM ignoredAPIs:###Health Check [19 b; 1609979360 s]
957-
ITEM ignoredAPIs:/favicon.ico### [19 b; 1609979360 s]
958-
END
959-
```
960-
The example shows in the namespace ignoredAPIs that two entries are contained. So these are not queried again until they have expired.
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 how to use it.
953+
954+
#### Get slabs
955+
Memcache is storing the data into slabs, which are like chunks depending
956+
961957
```
962958
stats cachedump 2 0
963959
ITEM ignoredAPIs:###Health Check [19 b; 1610535266 s]
@@ -967,7 +963,7 @@ ITEM index_status:trace###N/A [27 b; 1610538266 s]
967963
ITEM index_status:openlog###N/A [27 b; 1610538266 s]
968964
END
969965
```
970-
This holds the index creation status used by API-Builder & Logstash to determine if an indicies needs to be created or not.
966+
You may also try `stats cachedump 1 0` instead. The example above shows that the index_status
971967

972968
To get a key, for instance the version check status:
973969
```

imgs/payload-sample-view.png

-45.3 KB
Loading

0 commit comments

Comments
 (0)