Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
c18fdb1
Dependencies updated
Aug 17, 2021
572dfa1
Bump path-parse from 1.0.6 to 1.0.7 in /apibuilder4elastic
dependabot[bot] Aug 17, 2021
e87a5ff
Merge pull request #125 from Axway-API-Management-Plus/dependabot/npm…
Aug 17, 2021
484509b
Now API-Builder returns Unknown API details object, if the API
Aug 19, 2021
805b76e
Integration test fixed.
Aug 19, 2021
853f8c6
Another integration test fix.
Aug 19, 2021
afc1876
Preparations for Rollup-Jobs
Aug 26, 2021
8add849
Rollup job updated, added new dashboards
Aug 26, 2021
3356c23
Dashboards optimized.
Aug 26, 2021
9722168
Added support to process customMsgAtts.transactionId
Aug 26, 2021
f6b2038
Update EventsPipeline.conf
Aug 26, 2021
97befc1
Logstash test fixed
Aug 26, 2021
6e4d12d
[skip ci] Docu updated
Aug 26, 2021
4c7d77c
ServiceName filtering fixed - Now using AND operator
Aug 27, 2021
24c2ab8
Integration test fixed
Aug 27, 2021
6fde399
Missing VHost filter added
Aug 27, 2021
12ca36d
Now the API-Operation is filter with an AND condition
Aug 27, 2021
e344ed5
[skip ci] Documentation
Aug 27, 2021
6a12648
Merge branch 'develop' into rollup-jobs
Aug 27, 2021
759599b
Merge pull request #132 from Axway-API-Management-Plus/rollup-jobs
Aug 27, 2021
33e9f77
[skip ci] With version 7.14.0 of ES, 18GB of RAM are required for tes…
Aug 27, 2021
39d348a
Rollups replaced with Transformations
Aug 27, 2021
3137330
Update SetupElasticsearchIndex.json
Aug 27, 2021
9ff73aa
Update SetupElasticsearchIndex.json
Aug 27, 2021
c3e9c28
Added missing API-Name
Aug 27, 2021
60521d2
appOrg was missing
Aug 27, 2021
a89bf88
Fix
Aug 27, 2021
b1706b1
HTTP-Status added to transform job
Aug 27, 2021
45ccc22
Field http.status additionally indexed as keyword
Aug 30, 2021
68a6cee
Update apibuilder4elastic.yml
Aug 30, 2021
83354d1
Update transform_hourly.json
Aug 30, 2021
c11df5c
Update index_config.json
Aug 30, 2021
f99b637
Transforms updated v6
Aug 30, 2021
ddd71b0
Update transform_hourly.json
Aug 30, 2021
bb9dec9
Merge branch 'master' into develop
Aug 30, 2021
ff91135
Update Axway-api-overview.ndjson
Aug 31, 2021
3bd32b8
Doc, transform backendBasePath, missing buckets
Aug 31, 2021
6b2cff0
Update transform_hourly.json
Aug 31, 2021
06da441
Update Axway-api-overview.ndjson
Aug 31, 2021
c591d81
Added documentation for Long-Term-Analytics
Aug 31, 2021
c44e56d
[skip ci] Added Analytics information
Aug 31, 2021
27f500c
[skip ci] Docu improved
Aug 31, 2021
833fa1b
Bugfix. CustomProperties parents leads to constant updates of the tem…
Aug 31, 2021
b8aa2d1
Added Unit-Test: CustomProps merge with a parent No-Update
Aug 31, 2021
bda0272
Update transform_hourly.json
Aug 31, 2021
184bf5a
Update transform_hourly.json
Aug 31, 2021
274c088
[skip ci] FAQ updated for Kibana historical dashboards
Aug 31, 2021
61917ff
[skip ci] Renamed tags api-transactions to apis
Aug 31, 2021
fda7bf1
[skip ci] Docu slightly changed
Sep 1, 2021
e3a571b
Update README.md
Sep 1, 2021
9b1b3a9
Update README.md
Sep 1, 2021
07e0895
If currentUserRequest to ANM fails - Try it again
Sep 1, 2021
6379270
New parameter: DROP_TRACE_MESSAGE_LEVELS added
Sep 1, 2021
1c57380
Default variable DROP_TRACE_MESSAGE_LEVELS in pipeline
Sep 2, 2021
c3c0b91
Update README.md
Sep 2, 2021
5b560cf
Update README.md
Sep 2, 2021
a373928
Update README.md
Sep 2, 2021
6431e9d
DROP_TRACE_MESSAGE_LEVELS
Sep 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/apibuilder4elastic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ jobs:
npm test

test-traffic-monitor-api:
name: Test Traffic-Monitor API
needs: [test-elk-util-flow-node, apim-util-flow-node, traffic-monitor-util-flow-node, authorization-plugin]
if: "!contains(github.event.head_commit.message, 'skip ci')"
env:
Expand All @@ -108,7 +109,7 @@ jobs:
runs-on: ubuntu-latest
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.13.3
image: docker.elastic.co/elasticsearch/elasticsearch:7.14.0
ports:
- 9200:9200
- 9300:9300
Expand Down Expand Up @@ -140,6 +141,18 @@ jobs:
npm ci
npm run build --if-present
npm test


push-latest-apibuilder4elastic:
name: Push latest APIBuilder4Elastic
needs: [test-traffic-monitor-api]
if: "!contains(github.event.head_commit.message, 'skip ci')"
env:
workingDirectory: 'apibuilder4elastic'

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Publish Docker image (latest)
uses: elgohr/Publish-Docker-Github-Action@2.13
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/logstash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
echo Using MEMCACHED: $MEMCACHED
./logstash-filter-verifier --diff-command="diff -y" --keep-env=API_BUILDER_SSL_CERT --keep-env=API_BUILDER_URL --keep-env=MEMCACHED ./logstash/test/jms/test-opentrafficlog-jms.json ./logstash/pipelines/OpenTrafficPipeline.conf
./logstash-filter-verifier --diff-command="diff -y" --keep-env=API_BUILDER_SSL_CERT --keep-env=API_BUILDER_URL --keep-env=MEMCACHED ./logstash/test/beatsInput/test-index-creation-lookup.json ./logstash/pipelines/BeatsInputPipeline.conf
./logstash-filter-verifier --diff-command="diff -y" --keep-env=API_BUILDER_SSL_CERT --keep-env=API_BUILDER_URL --keep-env=MEMCACHED ./logstash/test/http/test-tracemessages.json ./logstash/pipelines/TraceMessagesPipeline.conf
./logstash-filter-verifier --diff-command="diff -y" --keep-env=API_BUILDER_SSL_CERT --keep-env=API_BUILDER_URL --keep-env=MEMCACHED --keep-env=DROP_TRACE_MESSAGE_LEVELS ./logstash/test/http/test-tracemessages.json ./logstash/pipelines/TraceMessagesPipeline.conf
./logstash-filter-verifier --diff-command="diff -y" --keep-env=API_BUILDER_SSL_CERT --keep-env=API_BUILDER_URL --keep-env=MEMCACHED ./logstash/test/http/test-tracemessages-gmt-4.json ./logstash/pipelines/TraceMessagesPipeline.conf
./logstash-filter-verifier --diff-command="diff -y" --keep-env=API_BUILDER_SSL_CERT --keep-env=API_BUILDER_URL --keep-env=MEMCACHED ./logstash/test/http/test-events.json ./logstash/pipelines/EventsPipeline.conf
./logstash-filter-verifier --diff-command="diff -y" --keep-env=API_BUILDER_SSL_CERT --keep-env=API_BUILDER_URL --keep-env=MEMCACHED ./logstash/test/http/test-opentrafficlog.json ./logstash/pipelines/OpenTrafficPipeline.conf
Expand All @@ -57,6 +57,7 @@ jobs:
env:
API_BUILDER_URL: 'http://localhost:8080'
MEMCACHED: 'localhost:11211'
DROP_TRACE_MESSAGE_LEVELS: 'DEBUG'
# This is not relevant as we test with HTTP
# But it's required by Logstash to be a valid certificate
API_BUILDER_SSL_CERT: "./config/certificates/apibuilder4elastic.crt"
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Fixed
- Service name filtering is not working as expected [#129](https://github.com/Axway-API-Management-Plus/apigateway-openlogging-elk/issues/129)
- API Operation filter not working as expected [#131](https://github.com/Axway-API-Management-Plus/apigateway-openlogging-elk/issues/131)
- V-Host filter is ignored / Index-Template changed to index VHost additionally as text [#130](https://github.com/Axway-API-Management-Plus/apigateway-openlogging-elk/issues/130)

### Changed
- Updated Elastic-Stack from version 7.12.1 to 7.14.0
- Updated API-Builder version changed from Quezon to Timbuktu
- API-Builder now always returns an Unknown API object if an API could not be found [#128](https://github.com/Axway-API-Management-Plus/apigateway-openlogging-elk/issues/128)
- Field http.status now indexed as a keyword additionally to Integer

### Added
- Added support for Long-Term API-Analytics based on transformation jobs
- Added Quartely- and Yearly-API-Request dashboars in addition to the existing Real-Time Dashboard
- Added support for Transactions [#83](https://github.com/Axway-API-Management-Plus/apigateway-openlogging-elk/issues/83)
- If Current-User request to ANM fails, API-Builder is now trying it again [#135](https://github.com/Axway-API-Management-Plus/apigateway-openlogging-elk/issues/135)
- New optional parameter: DROP_TRACE_MESSAGE_LEVELS to skip indexing of certain trace messages [#136](https://github.com/Axway-API-Management-Plus/apigateway-openlogging-elk/issues/136)

## [3.3.2] 2021-08-30
### Fixed
- Custom-Property mapping created as undefinedCustomProperties.myProp [#133](https://github.com/Axway-API-Management-Plus/apigateway-openlogging-elk/issues/133)
Expand All @@ -17,6 +36,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Changed
- API-Builder stops/terminates with an error-message and error-code, if Elasticsearch cannot be configured (e.g. Index-Templates cannot be installed)
- Events Logstash-Pipeline is now processing Transaction-Events with a customMsgAtts.transactionId into the Traffic-Summary index


## [3.3.0] 2021-07-21
Expand Down
Loading