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

Commit 2f0776b

Browse files
author
Chris Wiechmann
authored
Update README.md
1 parent 6fea302 commit 2f0776b

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,8 +1145,9 @@ However, if you need to change files, it is recommended to make this change auto
11451145
- [ILM Rollover alias error](#ilm-rollover-alias-error)
11461146
- [Check Caching](#check-caching)
11471147
- [Certificate error Admin-Node Manager to API-Builder](#certificate-error-admin-node-manager-to-api-builder)
1148-
- [Filebeat - Failed to publish events](#filebeat-failed-to-publish-events)
1149-
- [Kibana - Missing Long-Term-Statistics](#kibana-missing-long-term-statistics)
1148+
- [Filebeat - Failed to publish events](#filebeat---failed-to-publish-events)
1149+
- [Kibana - Missing Long-Term-Statistics](#kibana---missing-long-term-statistics)
1150+
- [Too many API-Manager lookups](#kibana---missing-long-term-statistics)
11501151

11511152
### Check processes/containers are running
11521153
From within the folder where the docker-compose.yml file is located (git project folder) execute:
@@ -1272,6 +1273,7 @@ It is important to know that traffic information will still appear in this case,
12721273
```
12731274
tail -f /opt/Axway/APIM/apigateway/trace/nodemanageronapi-env_20200813000000.trc
12741275
```
1276+
<p align="right"><a href="#troubleshooting">Top</a></p>
12751277

12761278
### Check queries send to ElasticSearch
12771279
In oder to see queries that are send to ElasticSearch by API-Builder you need to run the Docker-Container with `LOG_LEVEL=debug`. You can activate debug in the docker-compose.yml. This gives you in the console of the API-Builder the following output:
@@ -1336,6 +1338,8 @@ END
13361338

13371339
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.
13381340

1341+
<p align="right"><a href="#troubleshooting">Top</a></p>
1342+
13391343
### Certificate error Admin-Node Manager to API-Builder
13401344

13411345
If you have errors connecting from the Admin Node Manager to the API Builder, then the following instructions:
@@ -1378,6 +1382,14 @@ The main cause of this problem is the way the `http.status` field is indexed, wh
13781382

13791383
<p align="right"><a href="#troubleshooting">Top</a></p>
13801384

1385+
### Too many API-Manager lookups
1386+
1387+
API- and Application-Details are looked up as part of the Logstash pipeline from the API Manager using a APIBuilder4Elastic REST API. The obtained details are cached by Logstash using Memcache.
1388+
Now, if lookups are constantly performed nevertheless, then this might be caused by APIs directly exposed by the API-Gateways via policies, which have a path parameter (e.g /api/v1/cusomer/323213).
1389+
Because the path parameter makes the API path dynamic it prevents Logstash from caching it. In this case, you need to help the solution by setting an API name in the appropriate policies using the [Set Service Context](https://docs.axway.com/bundle/axway-open-docs/page/docs/apim_policydev/apigw_polref/monitoring_logging/index.html#set-service-context-filter) filter.
1390+
1391+
<p align="right"><a href="#troubleshooting">Top</a></p>
1392+
13811393
## FAQ
13821394

13831395
### Do I need an API-Builder subscription?

0 commit comments

Comments
 (0)