You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,10 @@ The compare attribute filter should look like this:
73
73
![Connect to ES API][img7]
74
74
- Insert the created policy as a callback policy (filter: Shortcut filter) into the main policy: `Protect Management Interfaces` and wire it like shown here:
75
75
![Use Callback][img4]
76
+
77
+
:point_right: It is recommended to disable the audit log for Failure transaction to avoid unneeded log messages in the ANM trace file:
78
+
![Use Callback][img4]
79
+
You may add a custom Success-Message (e.g. `Used ElasticSearch API`) is you like.
76
80
77
81
After you have saved, copy the configuration files from your local *Policy Studio* project (path on Linux: `/home/<user>/apiprojects/\<project-name\>`) back the configuration to the Admin-Node-Manager configuration (`\<install-dir\>/apigateway/conf/fed`) and restarted it. The Admin-Node-Manager will use the API provided by API-Builder to query the Elasticsearch API to serve the specified request-types.
78
82
@@ -211,10 +215,6 @@ It is important to know that traffic information will still appear in this case,
In case you see the following message logged, please check the API-Builder process is running and reachable from the ANM.
215
-
```
216
-
logged Failure at 08.13.2020 05:46:09,730 with log description: Failed in calling policy shortcut
217
-
```
218
218
219
219
#### Check queries send to ElasticSearch
220
220
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:
@@ -233,5 +233,7 @@ This helps you to further analyze if ElasticSearch is returning the correct info
0 commit comments