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

Commit 22966d9

Browse files
author
Chris Wiechmann
authored
Update README.md
1 parent 7f7ea8b commit 22966d9

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,21 @@ For the following steps, please open the ANM configuration in Policy-Studio. You
7777
- The `Compare Attribute` filter checks if the requested API can be handled by the API-Builder project.
7878
As a basis for decision-making a criteria for each endpoint needs to be added to the filter configuration.
7979
_The following endpoints are supported by the API Builder based Traffic-Monitor API.
80-
The **search** endpoint which provides the data for the HTTP Traffic overview, the **circuitpath** endpoint which provides the data for the Filter Execution Path as part of the detailed view of a transaction, the **trace** endpoint which returns the trace information and the **getinfo** endpoint which returns the request detail information including the http header of each leg._
81-
For search endpoint add: `http.request.path` matches regular expression `^\/api\/router\/service\/[A-Za-z0-9-.]+\/ops\/search$`
82-
For circuitpath endpoint add: `http.request.path` matches regular expression `^\/api\/router\/service\/[A-Za-z0-9-.]+\/ops\/stream\/[A-Za-z0-9]+\/[^\/]+\/circuitpath$`
83-
For trace endpoint add: `http.request.path` matches regular expression `^\/api\/router\/service\/[A-Za-z0-9-.]+\/ops\/trace\/[A-Za-z0-9]+[\?]?.*$`
84-
For getinfo endpoint add: `http.request.path` matches regular expression `^\/api\/router\/service\/[A-Za-z0-9-.]+\/ops\/[A-Za-z0-9]+\/[A-Za-z0-9]+\/[\*0-9]{1}\/getinfo[\?]?.*$`
85-
![Is API Managed][img6]
86-
- Adjust the URL of the Connect to URL filter to your running API-Builder docker container and port - **default is 8889**. Sample: `http://api-env:8889/api/elk/v1${http.request.rawURI}`
87-
![Connect to ES API][img7]
80+
The **search** endpoint which provides the data for the HTTP Traffic overview,
81+
The **circuitpath** endpoint which provides the data for the Filter Execution Path as part of the detailed view of a transaction,
82+
The **trace** endpoint which returns the trace information and the **getinfo** endpoint which returns the request detail information including the http header of each leg.
83+
84+
| Endpoint | Expression | Comment |
85+
| :--- | :--- | :--- |
86+
| **Search** | `^\/api\/router\/service\/[A-Za-z0-9-.]+\/ops\/search$` | This endpoint which provides the data for the HTTP Traffic overview and all filtering capabilities|
87+
| **Circuitpath** | `^\/api\/router\/service\/[A-Za-z0-9-.]+\/ops\/stream\/[A-Za-z0-9]+\/[^\/]+\/circuitpath$` | Endpoint which provides the data for the Filter Execution Path as part of the detailed view of a transaction|
88+
| **Trace** | `^\/api\/router\/service\/[A-Za-z0-9-.]+\/ops\/trace\/[A-Za-z0-9]+[\?]?.*$` | Endpoint which returns the trace information and the **getinfo** endpoint which returns the request detail information including the http header of each leg|
89+
| **GetInfo** | `^\/api\/router\/service\/[A-Za-z0-9-.]+\/ops\/[A-Za-z0-9]+\/[A-Za-z0-9]+\/[\*0-9]{1}\/getinfo[\?]?.*$` |Endpoint provides information for the Requesr- Response-Details|
90+
91+
92+
![Is API Managed][img6]
93+
- Adjust the URL of the Connect to URL filter to your running API-Builder docker container and port - **default is 8889**. Sample: `http://api-env:8889/api/elk/v1${http.request.rawURI}`
94+
![Connect to ES API][img7]
8895
- Insert the created policy as a callback policy (filter: Shortcut filter) into the main policy: `Protect Management Interfaces` and wire it like shown here:
8996
![Use Callback][img4]
9097

0 commit comments

Comments
 (0)