From 956df94eb80e75948fce10cec34aed4f4a1e9147 Mon Sep 17 00:00:00 2001 From: Florent CHAMFROY Date: Thu, 16 Jan 2025 23:50:55 +0100 Subject: [PATCH] test: make elastic tests independent of the time Some of the tests of the elastic repository depend on the time when they are executed. This commit introduces a TimeProvider class that is used to provide the same date for both the data put in ES and the tests themselves. (cherry picked from commit 94b9e2a9c950a225d0e8147b212dc681af4c4fd0) --- .../elasticsearch/DatabaseHydrator.java | 43 ++++++-------- .../elasticsearch/TestConfiguration.java | 9 ++- .../elasticsearch/TimeProvider.java | 57 +++++++++++++++++++ .../ElasticsearchAnalyticsRepositoryTest.java | 2 +- .../log/LogElasticsearchRepositoryTest.java | 33 +++++------ .../src/test/resources/freemarker/health.ftl | 22 +++---- .../src/test/resources/freemarker/log.ftl | 14 ++--- .../src/test/resources/freemarker/monitor.ftl | 12 ++-- .../src/test/resources/freemarker/request.ftl | 34 +++++------ 9 files changed, 138 insertions(+), 88 deletions(-) create mode 100644 gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/TimeProvider.java diff --git a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/DatabaseHydrator.java b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/DatabaseHydrator.java index 997e973a401..b4943d101e3 100644 --- a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/DatabaseHydrator.java +++ b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/DatabaseHydrator.java @@ -22,27 +22,27 @@ import io.reactivex.rxjava3.core.Single; import io.vertx.core.buffer.Buffer; import jakarta.annotation.PostConstruct; -import java.time.Instant; -import java.time.ZoneId; -import java.time.format.DateTimeFormatter; -import java.time.temporal.ChronoUnit; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils; public class DatabaseHydrator { - private static final DateTimeFormatter FORMATTER_WITH_DASH = DateTimeFormatter.ofPattern("yyyy-MM-dd").withZone(ZoneId.systemDefault()); - private static final DateTimeFormatter FORMATTER_WITH_DOT = DateTimeFormatter.ofPattern("yyyy.MM.dd").withZone(ZoneId.systemDefault()); - Client client; FreeMarkerComponent freeMarkerComponent; String elasticMajorVersion; + private final TimeProvider timeProvider; - public DatabaseHydrator(Client client, FreeMarkerComponent freeMarkerComponent, String elasticsearchVersion) { + public DatabaseHydrator( + Client client, + FreeMarkerComponent freeMarkerComponent, + String elasticsearchVersion, + TimeProvider timeProvider + ) { this.client = client; this.freeMarkerComponent = freeMarkerComponent; this.elasticMajorVersion = elasticsearchVersion.split("\\.")[0]; + this.timeProvider = timeProvider; } @PostConstruct @@ -83,27 +83,20 @@ private Completable createTemplate(List types) { } private List prepareData(List types) { - final Instant now = Instant.now(); - final Instant yesterday = now.minus(1, ChronoUnit.DAYS); - - final String dateToday = FORMATTER_WITH_DASH.format(now); - final String dateYesterday = FORMATTER_WITH_DASH.format(yesterday); - - final String todayWithDot = FORMATTER_WITH_DOT.format(now); - final String yesterdayWithDot = FORMATTER_WITH_DOT.format(yesterday); - return types .stream() .map(type -> { Map data = Map.ofEntries( - Map.entry("dateToday", dateToday), - Map.entry("dateYesterday", dateYesterday), - Map.entry("indexNameToday", indexTemplate(type, todayWithDot)), - Map.entry("indexNameTodayEntrypoint", indexTemplate(type, todayWithDot, "entrypoint")), - Map.entry("indexNameTodayEndpoint", indexTemplate(type, todayWithDot, "endpoint")), - Map.entry("indexNameYesterday", indexTemplate(type, yesterdayWithDot)), - Map.entry("indexNameYesterdayEntrypoint", indexTemplate(type, yesterdayWithDot, "entrypoint")), - Map.entry("indexNameYesterdayEndpoint", indexTemplate(type, yesterdayWithDot, "endpoint")) + Map.entry("dateToday", this.timeProvider.getDateToday()), + Map.entry("dateYesterday", this.timeProvider.getDateYesterday()), + Map.entry("dateTimeToday", this.timeProvider.getDateTimeToday()), + Map.entry("dateTimeYesterday", this.timeProvider.getDateTimeYesterday()), + Map.entry("indexNameToday", indexTemplate(type, this.timeProvider.getTodayWithDot())), + Map.entry("indexNameTodayEntrypoint", indexTemplate(type, this.timeProvider.getTodayWithDot(), "entrypoint")), + Map.entry("indexNameTodayEndpoint", indexTemplate(type, this.timeProvider.getTodayWithDot(), "endpoint")), + Map.entry("indexNameYesterday", indexTemplate(type, this.timeProvider.getYesterdayWithDot())), + Map.entry("indexNameYesterdayEntrypoint", indexTemplate(type, this.timeProvider.getYesterdayWithDot(), "entrypoint")), + Map.entry("indexNameYesterdayEndpoint", indexTemplate(type, this.timeProvider.getYesterdayWithDot(), "endpoint")) ); var filename = type + ".ftl"; return freeMarkerComponent.generateFromTemplate(filename, data); diff --git a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/TestConfiguration.java b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/TestConfiguration.java index 46b2a381707..90a323d3816 100644 --- a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/TestConfiguration.java +++ b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/TestConfiguration.java @@ -64,8 +64,13 @@ public Vertx vertx() { } @Bean - public DatabaseHydrator databaseHydrator(Client client, FreeMarkerComponent freeMarkerComponent) { - return new DatabaseHydrator(client, freeMarkerComponent, elasticsearchVersion); + public TimeProvider timeProvider() { + return new TimeProvider(); + } + + @Bean + public DatabaseHydrator databaseHydrator(Client client, FreeMarkerComponent freeMarkerComponent, TimeProvider timeProvider) { + return new DatabaseHydrator(client, freeMarkerComponent, elasticsearchVersion, timeProvider); } @Bean diff --git a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/TimeProvider.java b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/TimeProvider.java new file mode 100644 index 00000000000..709838a5820 --- /dev/null +++ b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/TimeProvider.java @@ -0,0 +1,57 @@ +/* + * Copyright © 2015 The Gravitee team (http://gravitee.io) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.gravitee.repository.elasticsearch; + +import java.time.Instant; +import java.time.ZoneId; +import java.time.format.DateTimeFormatter; +import java.time.temporal.ChronoUnit; +import lombok.Getter; + +@Getter +public class TimeProvider { + + private static final DateTimeFormatter DATE_TIME_FORMATTER_WITH_DASH = DateTimeFormatter + .ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSxxx") + .withZone(ZoneId.systemDefault()); + private static final DateTimeFormatter DATE_FORMATTER_WITH_DASH = DateTimeFormatter + .ofPattern("yyyy-MM-dd") + .withZone(ZoneId.systemDefault()); + private static final DateTimeFormatter DATE_FORMATTER_WITH_DOT = DateTimeFormatter + .ofPattern("yyyy.MM.dd") + .withZone(ZoneId.systemDefault()); + + private final String dateToday; + private final String dateYesterday; + private final String dateTimeToday; + private final String dateTimeYesterday; + private final String todayWithDot; + private final String yesterdayWithDot; + + public TimeProvider() { + final Instant now = Instant.now().minus(30, ChronoUnit.MINUTES); + final Instant yesterday = now.minus(1, ChronoUnit.DAYS); + + dateToday = DATE_FORMATTER_WITH_DASH.format(now); + dateYesterday = DATE_FORMATTER_WITH_DASH.format(yesterday); + + dateTimeToday = DATE_TIME_FORMATTER_WITH_DASH.format(now); + dateTimeYesterday = DATE_TIME_FORMATTER_WITH_DASH.format(yesterday); + + todayWithDot = DATE_FORMATTER_WITH_DOT.format(now); + yesterdayWithDot = DATE_FORMATTER_WITH_DOT.format(yesterday); + } +} diff --git a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/analytics/ElasticsearchAnalyticsRepositoryTest.java b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/analytics/ElasticsearchAnalyticsRepositoryTest.java index 7280334aeb6..077f2d9accb 100644 --- a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/analytics/ElasticsearchAnalyticsRepositoryTest.java +++ b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/analytics/ElasticsearchAnalyticsRepositoryTest.java @@ -192,7 +192,7 @@ public void testCountWithTwoApis() throws Exception { ); assertThat(response).isNotNull(); - assertThat(response.getCount()).isEqualTo(4); + assertThat(response.getCount()).isEqualTo(7); } @Test diff --git a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/v4/log/LogElasticsearchRepositoryTest.java b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/v4/log/LogElasticsearchRepositoryTest.java index 25f6fd5fdba..fc73cecdbc1 100644 --- a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/v4/log/LogElasticsearchRepositoryTest.java +++ b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/java/io/gravitee/repository/elasticsearch/v4/log/LogElasticsearchRepositoryTest.java @@ -22,6 +22,7 @@ import io.gravitee.common.http.HttpMethod; import io.gravitee.repository.common.query.QueryContext; import io.gravitee.repository.elasticsearch.AbstractElasticsearchRepositoryTest; +import io.gravitee.repository.elasticsearch.TimeProvider; import io.gravitee.repository.log.v4.model.connection.ConnectionLog; import io.gravitee.repository.log.v4.model.connection.ConnectionLogDetail; import io.gravitee.repository.log.v4.model.connection.ConnectionLogDetailQuery; @@ -29,6 +30,7 @@ import io.gravitee.repository.log.v4.model.connection.ConnectionLogQuery.Filter; import io.gravitee.repository.log.v4.model.message.AggregatedMessageLog; import io.gravitee.repository.log.v4.model.message.MessageLogQuery; +import jakarta.annotation.PostConstruct; import java.time.Instant; import java.time.ZoneId; import java.time.ZoneOffset; @@ -53,13 +55,23 @@ public class LogElasticsearchRepositoryTest extends AbstractElasticsearchReposit @Autowired private LogElasticsearchRepository logV4Repository; + @Autowired + private TimeProvider timeProvider; + + private String today; + private String yesterday; + + @PostConstruct + public void init() { + today = timeProvider.getDateToday(); + yesterday = timeProvider.getDateYesterday(); + } + @Nested class SearchConnectionLogs { @Test void should_return_the_1st_page_of_connection_logs_of_an_api() { - var today = DATE_FORMATTER.format(Instant.now()); - var result = logV4Repository.searchConnectionLogs( queryContext, ConnectionLogQuery.builder().filter(Filter.builder().apiId("f1608475-dd77-4603-a084-75dd775603e9").build()).size(2).build() @@ -101,8 +113,6 @@ void should_return_the_1st_page_of_connection_logs_of_an_api() { @Test void should_return_a_page_of_connection_logs_of_an_api() { - var yesterday = DATE_FORMATTER.format(Instant.now().minus(1, ChronoUnit.DAYS)); - var result = logV4Repository.searchConnectionLogs( queryContext, ConnectionLogQuery @@ -238,9 +248,6 @@ void should_return_a_page_of_connection_logs_from_today_to_whenever() { @Test void should_return_the_applications_logs() { - var today = DATE_FORMATTER.format(Instant.now()); - var yesterday = DATE_FORMATTER.format(Instant.now().minus(1, ChronoUnit.DAYS)); - var result = logV4Repository.searchConnectionLogs( queryContext, ConnectionLogQuery @@ -269,8 +276,6 @@ void should_return_the_applications_logs() { @Test void should_return_the_connection_logs_for_plans() { - var today = DATE_FORMATTER.format(Instant.now()); - var result = logV4Repository.searchConnectionLogs( queryContext, ConnectionLogQuery @@ -349,8 +354,6 @@ void should_return_empty_result() { @Test void should_return_result() { - var today = DATE_FORMATTER.format(Instant.now()); - var result = logV4Repository.searchConnectionLogDetail( queryContext, ConnectionLogDetailQuery @@ -410,8 +413,6 @@ class SearchAggregateMessageLog { @Test void should_return_aggregated_message_log_with_only_entrypoint() { - var yesterday = DATE_FORMATTER.format(Instant.now().minus(1, ChronoUnit.DAYS)); - var result = logV4Repository.searchAggregatedMessageLog( queryContext, MessageLogQuery @@ -456,8 +457,6 @@ void should_return_aggregated_message_log_with_only_entrypoint() { @Test void should_return_aggregated_message_log_with_only_endpoint() { - var yesterday = DATE_FORMATTER.format(Instant.now().minus(1, ChronoUnit.DAYS)); - var result = logV4Repository.searchAggregatedMessageLog( queryContext, MessageLogQuery @@ -502,8 +501,6 @@ void should_return_aggregated_message_log_with_only_endpoint() { @Test void should_return_aggregated_message_log_with_entrypoint_and_endpoint_for_publish_operation() { - var yesterday = DATE_FORMATTER.format(Instant.now().minus(1, ChronoUnit.DAYS)); - var result = logV4Repository.searchAggregatedMessageLog( queryContext, MessageLogQuery @@ -560,8 +557,6 @@ void should_return_aggregated_message_log_with_entrypoint_and_endpoint_for_publi @Test void should_return_aggregated_message_log_with_entrypoint_and_endpoint_for_subscribe_operation() { - var yesterday = DATE_FORMATTER.format(Instant.now().minus(1, ChronoUnit.DAYS)); - var result = logV4Repository.searchAggregatedMessageLog( queryContext, MessageLogQuery diff --git a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/health.ftl b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/health.ftl index e39ccfeef6b..58a88faddac 100644 --- a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/health.ftl +++ b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/health.ftl @@ -1,22 +1,22 @@ { "index" :{ ${indexNameToday}, "_id": "AVsGcnBPkSadZDBaTBag"} } -{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": false,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateToday}T18:33:11.079+01:00"} +{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": false,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateTimeToday}"} { "index" :{ ${indexNameToday}, "_id": "AVsGcnBPkSadZDBaTBao"} } -{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateToday}T18:10:11.079+01:00"} +{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateTimeToday}"} { "index" :{ ${indexNameToday}, "_id": "AVsGgzxGooztmMPf1gOs"} } -{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateToday}T18:28:30.718+01:00"} +{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateTimeToday}"} { "index" :{ ${indexNameToday}, "_id": "AVsGgiqaTGG_RLWNOXe7"} } -{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateToday}T17:27:20.714+01:00"} +{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateTimeToday}"} { "index" :{ ${indexNameToday}, "_id": "AVsGgxUsooztmMPf1gOp"} } -{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateToday}T16:28:20.717+01:00"} +{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateTimeToday}"} { "index" :{ ${indexNameToday}, "_id": "AVsGg7GYooztmMPf1gO1"} } -{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateToday}T18:29:00.719+01:00"} +{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateTimeToday}"} { "index" :{ ${indexNameYesterday}, "_id": "AVsGg__MooztmMPf1gO7"} } -{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateYesterday}T18:29:20.720+01:00"} +{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateTimeYesterday}"} { "index" :{ ${indexNameYesterday}, "_id": "AVsGhl3aooztmMPf1gPs"} } -{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateYesterday}T18:32:00.052+01:00"} +{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateTimeYesterday}"} { "index" :{ ${indexNameYesterday}, "_id": "AVsGhoTzooztmMPf1gPv"} } -{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateYesterday}T18:32:10.052+01:00"} +{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateTimeYesterday}"} { "index" :{ ${indexNameYesterday}, "_id": "AVsGhoTzooztmuPf1gPv"} } -{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateYesterday}T18:32:10.052+01:00"} +{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateTimeYesterday}"} { "index" :{ ${indexNameYesterday}, "_id": "AVsGhaTzooztmuPf1gPv"} } -{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateYesterday}T18:32:20.052+01:00"} +{"api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","status": 200,"url": "https://api.gravitee.io/echo/","method": 3,"success": true,"state": 0,"message": null,"hostname": "debian","@timestamp": "${dateTimeYesterday}"} diff --git a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/log.ftl b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/log.ftl index b0cb7d5f441..0fab0491d50 100644 --- a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/log.ftl +++ b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/log.ftl @@ -1,14 +1,14 @@ { "index" :{ ${indexNameYesterday}, "_id": "29381bce-df59-47b2-b81b-cedf59c7b23e"}} -{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23e","client-request":{"method":"POST","uri":"/stocks?api-key=a9c898c4-d2f8-49e7-8385-48ab5250dd5b","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"API Key is not valid or is expired / revoked.\",\n \"http_status_code\" : 403\n}"},"@timestamp":"${dateYesterday}T11:45:47.680+00:00" } +{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23e","client-request":{"method":"POST","uri":"/stocks?api-key=a9c898c4-d2f8-49e7-8385-48ab5250dd5b","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"API Key is not valid or is expired / revoked.\",\n \"http_status_code\" : 403\n}"},"@timestamp":"${dateTimeYesterday}" } { "index" :{ ${indexNameYesterday}, "_id": "29381bce-df59-47b2-b81b-cedf59c7b23a"}} -{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23a","client-request":{"method":"POST","uri":"/stocks?api-key=a9c898c4-d2f8-49e7-8385-48ab5250dd5b","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"API Key is not valid or is expired / revoked.\",\n \"http_status_code\" : 403\n}"},"@timestamp":"${dateYesterday}T11:45:47.680+00:00" } +{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23a","client-request":{"method":"POST","uri":"/stocks?api-key=a9c898c4-d2f8-49e7-8385-48ab5250dd5b","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"API Key is not valid or is expired / revoked.\",\n \"http_status_code\" : 403\n}"},"@timestamp":"${dateTimeYesterday}" } { "index" :{ ${indexNameYesterday}, "_id": "29381bce-df59-47b2-b81b-cedf59c7b23b"}} -{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23b","client-request":{"method":"POST","uri":"/stocks?api-key=a9c898c4-d2f8-49e7-8385-48ab5250dd5b","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"API Key is not valid or is expired / revoked.\",\n \"http_status_code\" : 403\n}"},"@timestamp":"${dateYesterday}T11:45:47.680+00:00" } +{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23b","client-request":{"method":"POST","uri":"/stocks?api-key=a9c898c4-d2f8-49e7-8385-48ab5250dd5b","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"API Key is not valid or is expired / revoked.\",\n \"http_status_code\" : 403\n}"},"@timestamp":"${dateTimeYesterday}" } { "index" :{ ${indexNameYesterday}, "_id": "29381bce-df59-47b2-b81b-cedf59c7b23c"}} -{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23c","client-request":{"method":"POST","uri":"/stocks?api-key=a9c898c4-d2f8-49e7-8385-48ab5250dd5b","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"API Key is not valid or is expired / revoked.\",\n \"http_status_code\" : 403\n}"},"@timestamp":"${dateYesterday}T11:45:47.680+00:00" } +{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23c","client-request":{"method":"POST","uri":"/stocks?api-key=a9c898c4-d2f8-49e7-8385-48ab5250dd5b","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"API Key is not valid or is expired / revoked.\",\n \"http_status_code\" : 403\n}"},"@timestamp":"${dateTimeYesterday}" } { "index" :{ ${indexNameYesterday}, "_id": "29381bce-df59-47b2-b81b-cedf59c7b23d"}} -{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23d","client-request":{"method":"POST","uri":"/stocks?api-key=a9c898c4-d2f8-49e7-8385-48ab5250dd5b","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"API Key is not valid or is expired / revoked.\",\n \"http_status_code\" : 403\n}"},"@timestamp":"${dateYesterday}T11:45:47.680+00:00" } +{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23d","client-request":{"method":"POST","uri":"/stocks?api-key=a9c898c4-d2f8-49e7-8385-48ab5250dd5b","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"API Key is not valid or is expired / revoked.\",\n \"http_status_code\" : 403\n}"},"@timestamp":"${dateTimeYesterday}" } { "index" :{ ${indexNameYesterday}, "_id": "29381bce-df59-47b2-b81b-cedf59c7b23f"}} -{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23f","client-request":{"method":"POST","uri":"/stocks?api-key=a9c898c4-d2f8-49e7-8385-48ab5250dd5b","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"API Key is not valid or is expired / revoked.\",\n \"http_status_code\" : 403\n}"},"@timestamp":"${dateYesterday}T11:45:47.680+00:00" } +{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23f","client-request":{"method":"POST","uri":"/stocks?api-key=a9c898c4-d2f8-49e7-8385-48ab5250dd5b","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"API Key is not valid or is expired / revoked.\",\n \"http_status_code\" : 403\n}"},"@timestamp":"${dateTimeYesterday}" } { "index" :{ ${indexNameYesterday}, "_id": "4de64e15-2f4a-464f-9fc3-ed5b1f93d224"}} -{ "id": "4de64e15-2f4a-464f-9fc3-ed5b1f93d224","client-request":{"method":"POST","uri":"/notify","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"You have received a payment of 10$ from john@yopmail.com\",\n \"http_status_code\" : 200\n}"},"@timestamp":"${dateYesterday}T00:00:47.680+00:00" } +{ "id": "4de64e15-2f4a-464f-9fc3-ed5b1f93d224","client-request":{"method":"POST","uri":"/notify","headers":{"Host":["localhost:8082"],"Connection":["keep-alive"],"Content-Length":["21"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"],"Cache-Control":["no-cache"],"Origin":["chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm"],"Authorization":["Bearer f7238ce6-1e62-4525-84ba-35637185f0ee"],"Content-Type":["application/json"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"],"Cookie":["langueFront=fr; Authorization=\"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImZpcnN0bmFtZSI6bnVsbCwicGVybWlzc2lvbnMiOlt7ImF1dGhvcml0eSI6IlBPUlRBTDpBRE1JTiJ9LHsiYXV0aG9yaXR5IjoiQURNSU4ifSx7ImF1dGhvcml0eSI6Ik1BTkFHRU1FTlQ6QURNSU4ifV0sImlzcyI6ImdyYXZpdGVlLW1hbmFnZW1lbnQtYXV0aCIsImV4cCI6MTUwODgzOTI2NiwiaWF0IjoxNTA4MjM0NDY2LCJlbWFpbCI6bnVsbCwianRpIjoiZjU0NTZjNDgtOGUzYy00YzY1LWE3YjMtOTA3Nzc4MmE3YTg2IiwibGFzdG5hbWUiOm51bGx9._M76Y58Nv98uzRQ3RZkQM-VkVtgnjdvPr5AnJjatTzU\"; io=jGV-bOOdXVS9p5D2AAAF"],"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"]},"body":null},"client-response":{"status":403,"headers":{"X-Gravitee-Transaction-Id":["b127e629-3273-4b3f-a7e6-2932736b3ffb"],"Connection":["close"],"Content-Length":["93"],"Content-Type":["application/json"]},"body":"{\n \"message\" : \"You have received a payment of 10$ from john@yopmail.com\",\n \"http_status_code\" : 200\n}"},"@timestamp":"${dateTimeYesterday}" } diff --git a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/monitor.ftl b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/monitor.ftl index 8b8e9780806..59166c82e84 100644 --- a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/monitor.ftl +++ b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/monitor.ftl @@ -1,12 +1,12 @@ { "index" :{ ${indexNameToday}, "_id": "AVsFOS2okSadZDBaTAbl"} } -{"os": {"cpu": {"percent": 2,"load_average": {"1m": 0.1,"5m": 0.34,"15m": 0.3}},"mem": {"total_in_bytes": 8389443584,"free_in_bytes": 1516830720,"used_in_bytes": 6872612864,"free_percent": 18,"used_percent": 82}},"process": {"timestamp": 1490441284147,"open_file_descriptors": 322,"max_file_descriptors": 65536},"jvm": {"timestamp": 1490441284146,"uptime_in_millis": 431143,"mem": {"heap_used_in_bytes": 107843824,"heap_used_percent": 20,"heap_committed_in_bytes": 516423680,"heap_max_in_bytes": 516423680,"non_heap_used_in_bytes": 85299096, "non_heap_committed_in_bytes": 87949312,"pools": {"young": {"used_in_bytes": 75466696,"max_in_bytes": 139460608,"peak_used_in_bytes": 138936320,"peak_max_in_bytes": 142606336},"survivor": {"used_in_bytes": 13317496,"max_in_bytes": 19922944,"peak_used_in_bytes": 17406176,"peak_max_in_bytes": 22020096},"old": {"used_in_bytes": 19059632,"max_in_bytes": 358088704,"peak_used_in_bytes": 19059632,"peak_max_in_bytes": 358088704}}},"threads": {"count": 50,"peak_count": 51},"gc": {"collectors": {"young": {"collection_count": 9,"collection_time_in_millis": 144},"old": {"collection_count": 2,"collection_time_in_millis": 105}}}},"gateway": "1876c024-c6a2-409a-b6c0-24c6a2e09a5f","hostname": "debian","@timestamp": "${dateToday}T12:28:04.146+01:00"} +{"os": {"cpu": {"percent": 2,"load_average": {"1m": 0.1,"5m": 0.34,"15m": 0.3}},"mem": {"total_in_bytes": 8389443584,"free_in_bytes": 1516830720,"used_in_bytes": 6872612864,"free_percent": 18,"used_percent": 82}},"process": {"timestamp": 1490441284147,"open_file_descriptors": 322,"max_file_descriptors": 65536},"jvm": {"timestamp": 1490441284146,"uptime_in_millis": 431143,"mem": {"heap_used_in_bytes": 107843824,"heap_used_percent": 20,"heap_committed_in_bytes": 516423680,"heap_max_in_bytes": 516423680,"non_heap_used_in_bytes": 85299096, "non_heap_committed_in_bytes": 87949312,"pools": {"young": {"used_in_bytes": 75466696,"max_in_bytes": 139460608,"peak_used_in_bytes": 138936320,"peak_max_in_bytes": 142606336},"survivor": {"used_in_bytes": 13317496,"max_in_bytes": 19922944,"peak_used_in_bytes": 17406176,"peak_max_in_bytes": 22020096},"old": {"used_in_bytes": 19059632,"max_in_bytes": 358088704,"peak_used_in_bytes": 19059632,"peak_max_in_bytes": 358088704}}},"threads": {"count": 50,"peak_count": 51},"gc": {"collectors": {"young": {"collection_count": 9,"collection_time_in_millis": 144},"old": {"collection_count": 2,"collection_time_in_millis": 105}}}},"gateway": "1876c024-c6a2-409a-b6c0-24c6a2e09a5f","hostname": "debian","@timestamp": "${dateTimeToday}"} { "index" :{ ${indexNameToday}, "_id": "AVsFOXvXkSadZDBaTAbp"} } -{"os": {"cpu": {"percent": 4,"load_average": {"1m": 0.07,"5m": 0.32,"15m": 0.29}},"mem": {"total_in_bytes": 8389443584,"free_in_bytes": 1516830720,"used_in_bytes": 6872612864,"free_percent": 18,"used_percent": 82}},"process": {"timestamp": 1490441284147,"open_file_descriptors": 322,"max_file_descriptors": 65536},"jvm": {"timestamp": 1490441304165,"uptime_in_millis": 431143,"mem": {"heap_used_in_bytes": 107843824,"heap_used_percent": 20,"heap_committed_in_bytes": 516423680,"heap_max_in_bytes": 516423680,"non_heap_used_in_bytes": 85299096, "non_heap_committed_in_bytes": 87949312,"pools": {"young": {"used_in_bytes": 75466696,"max_in_bytes": 139460608,"peak_used_in_bytes": 138936320,"peak_max_in_bytes": 142606336},"survivor": {"used_in_bytes": 13317496,"max_in_bytes": 19922944,"peak_used_in_bytes": 17406176,"peak_max_in_bytes": 22020096},"old": {"used_in_bytes": 19059632,"max_in_bytes": 358088704,"peak_used_in_bytes": 19059632,"peak_max_in_bytes": 358088704}}},"threads": {"count": 50,"peak_count": 51},"gc": {"collectors": {"young": {"collection_count": 9,"collection_time_in_millis": 144},"old": {"collection_count": 2,"collection_time_in_millis": 105}}}},"gateway": "1876c024-c6a2-409a-b6c0-24c6a2e09a5f","hostname": "debian","@timestamp": "${dateToday}T12:28:24.164+01:00"} +{"os": {"cpu": {"percent": 4,"load_average": {"1m": 0.07,"5m": 0.32,"15m": 0.29}},"mem": {"total_in_bytes": 8389443584,"free_in_bytes": 1516830720,"used_in_bytes": 6872612864,"free_percent": 18,"used_percent": 82}},"process": {"timestamp": 1490441284147,"open_file_descriptors": 322,"max_file_descriptors": 65536},"jvm": {"timestamp": 1490441304165,"uptime_in_millis": 431143,"mem": {"heap_used_in_bytes": 107843824,"heap_used_percent": 20,"heap_committed_in_bytes": 516423680,"heap_max_in_bytes": 516423680,"non_heap_used_in_bytes": 85299096, "non_heap_committed_in_bytes": 87949312,"pools": {"young": {"used_in_bytes": 75466696,"max_in_bytes": 139460608,"peak_used_in_bytes": 138936320,"peak_max_in_bytes": 142606336},"survivor": {"used_in_bytes": 13317496,"max_in_bytes": 19922944,"peak_used_in_bytes": 17406176,"peak_max_in_bytes": 22020096},"old": {"used_in_bytes": 19059632,"max_in_bytes": 358088704,"peak_used_in_bytes": 19059632,"peak_max_in_bytes": 358088704}}},"threads": {"count": 50,"peak_count": 51},"gc": {"collectors": {"young": {"collection_count": 9,"collection_time_in_millis": 144},"old": {"collection_count": 2,"collection_time_in_millis": 105}}}},"gateway": "1876c024-c6a2-409a-b6c0-24c6a2e09a5f","hostname": "debian","@timestamp": "${dateTimeToday}"} { "index" :{ ${indexNameYesterday}, "_id": "AVsFOUE0kSadZDBaTAbm"} } -{"os": {"cpu": {"percent": 9,"load_average": {"1m": 0.09,"5m": 0.33,"15m": 0.3}},"mem": {"total_in_bytes": 8389443584,"free_in_bytes": 1516830720,"used_in_bytes": 6872612864,"free_percent": 18,"used_percent": 82}},"process": {"timestamp": 1490441284147,"open_file_descriptors": 322,"max_file_descriptors": 65536},"jvm": {"timestamp": 1490441289151,"uptime_in_millis": 431143,"mem": {"heap_used_in_bytes": 107843824,"heap_used_percent": 20,"heap_committed_in_bytes": 516423680,"heap_max_in_bytes": 516423680,"non_heap_used_in_bytes": 85299096, "non_heap_committed_in_bytes": 87949312,"pools": {"young": {"used_in_bytes": 75466696,"max_in_bytes": 139460608,"peak_used_in_bytes": 138936320,"peak_max_in_bytes": 142606336},"survivor": {"used_in_bytes": 13317496,"max_in_bytes": 19922944,"peak_used_in_bytes": 17406176,"peak_max_in_bytes": 22020096},"old": {"used_in_bytes": 19059632,"max_in_bytes": 358088704,"peak_used_in_bytes": 19059632,"peak_max_in_bytes": 358088704}}},"threads": {"count": 50,"peak_count": 51},"gc": {"collectors": {"young": {"collection_count": 9,"collection_time_in_millis": 144},"old": {"collection_count": 2,"collection_time_in_millis": 105}}}},"gateway": "1876c024-c6a2-409a-b6c0-24c6a2e09a5f","hostname": "debian","@timestamp": "${dateYesterday}T18:28:09.151+01:00"} +{"os": {"cpu": {"percent": 9,"load_average": {"1m": 0.09,"5m": 0.33,"15m": 0.3}},"mem": {"total_in_bytes": 8389443584,"free_in_bytes": 1516830720,"used_in_bytes": 6872612864,"free_percent": 18,"used_percent": 82}},"process": {"timestamp": 1490441284147,"open_file_descriptors": 322,"max_file_descriptors": 65536},"jvm": {"timestamp": 1490441289151,"uptime_in_millis": 431143,"mem": {"heap_used_in_bytes": 107843824,"heap_used_percent": 20,"heap_committed_in_bytes": 516423680,"heap_max_in_bytes": 516423680,"non_heap_used_in_bytes": 85299096, "non_heap_committed_in_bytes": 87949312,"pools": {"young": {"used_in_bytes": 75466696,"max_in_bytes": 139460608,"peak_used_in_bytes": 138936320,"peak_max_in_bytes": 142606336},"survivor": {"used_in_bytes": 13317496,"max_in_bytes": 19922944,"peak_used_in_bytes": 17406176,"peak_max_in_bytes": 22020096},"old": {"used_in_bytes": 19059632,"max_in_bytes": 358088704,"peak_used_in_bytes": 19059632,"peak_max_in_bytes": 358088704}}},"threads": {"count": 50,"peak_count": 51},"gc": {"collectors": {"young": {"collection_count": 9,"collection_time_in_millis": 144},"old": {"collection_count": 2,"collection_time_in_millis": 105}}}},"gateway": "1876c024-c6a2-409a-b6c0-24c6a2e09a5f","hostname": "debian","@timestamp": "${dateTimeYesterday}"} { "index" :{ ${indexNameToday}, "_id": "AVsFOS2okSadZDBaTAbl"} } -{"os": {"cpu": {"percent": 2,"load_average": {"1m": 0.1,"5m": 0.34,"15m": 0.3}},"mem": {"total_in_bytes": 8389443584,"free_in_bytes": 1516830720,"used_in_bytes": 6872612864,"free_percent": 18,"used_percent": 82}},"process": {"timestamp": 1490441284147,"open_file_descriptors": 322,"max_file_descriptors": 65536},"jvm": {"timestamp": 1490441284146,"uptime_in_millis": 431143,"mem": {"heap_used_in_bytes": 107843824,"heap_used_percent": 20,"heap_committed_in_bytes": 516423680,"heap_max_in_bytes": 516423680,"non_heap_used_in_bytes": 85299096, "non_heap_committed_in_bytes": 87949312,"pools": {"young": {"used_in_bytes": 75466696,"max_in_bytes": 139460608,"peak_used_in_bytes": 138936320,"peak_max_in_bytes": 142606336},"survivor": {"used_in_bytes": 13317496,"max_in_bytes": 19922944,"peak_used_in_bytes": 17406176,"peak_max_in_bytes": 22020096},"old": {"used_in_bytes": 19059632,"max_in_bytes": 358088704,"peak_used_in_bytes": 19059632,"peak_max_in_bytes": 358088704}}},"threads": {"count": 50,"peak_count": 51},"gc": {"collectors": {"young": {"collection_count": 9,"collection_time_in_millis": 144},"old": {"collection_count": 2,"collection_time_in_millis": 105}}}},"gateway": "1876c024-c6a2-409a-b6c0-24c6a2e09a5f","hostname": "debian","@timestamp": "${dateToday}T12:28:04.146+01:00"} +{"os": {"cpu": {"percent": 2,"load_average": {"1m": 0.1,"5m": 0.34,"15m": 0.3}},"mem": {"total_in_bytes": 8389443584,"free_in_bytes": 1516830720,"used_in_bytes": 6872612864,"free_percent": 18,"used_percent": 82}},"process": {"timestamp": 1490441284147,"open_file_descriptors": 322,"max_file_descriptors": 65536},"jvm": {"timestamp": 1490441284146,"uptime_in_millis": 431143,"mem": {"heap_used_in_bytes": 107843824,"heap_used_percent": 20,"heap_committed_in_bytes": 516423680,"heap_max_in_bytes": 516423680,"non_heap_used_in_bytes": 85299096, "non_heap_committed_in_bytes": 87949312,"pools": {"young": {"used_in_bytes": 75466696,"max_in_bytes": 139460608,"peak_used_in_bytes": 138936320,"peak_max_in_bytes": 142606336},"survivor": {"used_in_bytes": 13317496,"max_in_bytes": 19922944,"peak_used_in_bytes": 17406176,"peak_max_in_bytes": 22020096},"old": {"used_in_bytes": 19059632,"max_in_bytes": 358088704,"peak_used_in_bytes": 19059632,"peak_max_in_bytes": 358088704}}},"threads": {"count": 50,"peak_count": 51},"gc": {"collectors": {"young": {"collection_count": 9,"collection_time_in_millis": 144},"old": {"collection_count": 2,"collection_time_in_millis": 105}}}},"gateway": "1876c024-c6a2-409a-b6c0-24c6a2e09a5f","hostname": "debian","@timestamp": "${dateTimeToday}"} { "index" :{ ${indexNameToday}, "_id": "AVsFOXvXkSadZDBaTAbp"} } -{"os": {"cpu": {"percent": 4,"load_average": {"1m": 0.07,"5m": 0.32,"15m": 0.29}},"mem": {"total_in_bytes": 8389443584,"free_in_bytes": 1516830720,"used_in_bytes": 6872612864,"free_percent": 18,"used_percent": 82}},"process": {"timestamp": 1490441284147,"open_file_descriptors": 322,"max_file_descriptors": 65536, "cpu": {"percent": 12}},"jvm": {"timestamp": 1490441304165,"uptime_in_millis": 431143,"mem": {"heap_used_in_bytes": 107843824,"heap_used_percent": 20,"heap_committed_in_bytes": 516423680,"heap_max_in_bytes": 516423680,"non_heap_used_in_bytes": 85299096, "non_heap_committed_in_bytes": 87949312,"pools": {"young": {"used_in_bytes": 75466696,"max_in_bytes": 139460608,"peak_used_in_bytes": 138936320,"peak_max_in_bytes": 142606336},"survivor": {"used_in_bytes": 13317496,"max_in_bytes": 19922944,"peak_used_in_bytes": 17406176,"peak_max_in_bytes": 22020096},"old": {"used_in_bytes": 19059632,"max_in_bytes": 358088704,"peak_used_in_bytes": 19059632,"peak_max_in_bytes": 358088704}}},"threads": {"count": 50,"peak_count": 51},"gc": {"collectors": {"young": {"collection_count": 9,"collection_time_in_millis": 144},"old": {"collection_count": 2,"collection_time_in_millis": 105}}}},"gateway": "1876c024-c6a2-409a-b6c0-24c6a2e09a5f","hostname": "debian","@timestamp": "${dateToday}T12:28:24.164+01:00"} +{"os": {"cpu": {"percent": 4,"load_average": {"1m": 0.07,"5m": 0.32,"15m": 0.29}},"mem": {"total_in_bytes": 8389443584,"free_in_bytes": 1516830720,"used_in_bytes": 6872612864,"free_percent": 18,"used_percent": 82}},"process": {"timestamp": 1490441284147,"open_file_descriptors": 322,"max_file_descriptors": 65536, "cpu": {"percent": 12}},"jvm": {"timestamp": 1490441304165,"uptime_in_millis": 431143,"mem": {"heap_used_in_bytes": 107843824,"heap_used_percent": 20,"heap_committed_in_bytes": 516423680,"heap_max_in_bytes": 516423680,"non_heap_used_in_bytes": 85299096, "non_heap_committed_in_bytes": 87949312,"pools": {"young": {"used_in_bytes": 75466696,"max_in_bytes": 139460608,"peak_used_in_bytes": 138936320,"peak_max_in_bytes": 142606336},"survivor": {"used_in_bytes": 13317496,"max_in_bytes": 19922944,"peak_used_in_bytes": 17406176,"peak_max_in_bytes": 22020096},"old": {"used_in_bytes": 19059632,"max_in_bytes": 358088704,"peak_used_in_bytes": 19059632,"peak_max_in_bytes": 358088704}}},"threads": {"count": 50,"peak_count": 51},"gc": {"collectors": {"young": {"collection_count": 9,"collection_time_in_millis": 144},"old": {"collection_count": 2,"collection_time_in_millis": 105}}}},"gateway": "1876c024-c6a2-409a-b6c0-24c6a2e09a5f","hostname": "debian","@timestamp": "${dateTimeToday}"} { "index" :{ ${indexNameToday}, "_id": "AVsFOUE0kSadZDBaTAbm"} } -{"os": {"cpu": {"percent": 9,"load_average": {"1m": 0.09,"5m": 0.33,"15m": 0.3}},"mem": {"total_in_bytes": 8389443584,"free_in_bytes": 1516830720,"used_in_bytes": 6872612864,"free_percent": 18,"used_percent": 82}},"process": {"timestamp": 1490441284147,"open_file_descriptors": 322,"max_file_descriptors": 65536},"jvm": {"timestamp": 1490441289151,"uptime_in_millis": 431143,"mem": {"heap_used_in_bytes": 107843824,"heap_used_percent": 20,"heap_committed_in_bytes": 516423680,"heap_max_in_bytes": 516423680,"non_heap_used_in_bytes": 85299096, "non_heap_committed_in_bytes": 87949312,"pools": {"young": {"used_in_bytes": 75466696,"max_in_bytes": 139460608,"peak_used_in_bytes": 138936320,"peak_max_in_bytes": 142606336},"survivor": {"used_in_bytes": 13317496,"max_in_bytes": 19922944,"peak_used_in_bytes": 17406176,"peak_max_in_bytes": 22020096},"old": {"used_in_bytes": 19059632,"max_in_bytes": 358088704,"peak_used_in_bytes": 19059632,"peak_max_in_bytes": 358088704}}},"threads": {"count": 50,"peak_count": 51},"gc": {"collectors": {"young": {"collection_count": 9,"collection_time_in_millis": 144},"old": {"collection_count": 2,"collection_time_in_millis": 105}}}},"gateway": "1876c024-c6a2-409a-b6c0-24c6a2e09a5f","hostname": "debian","@timestamp": "${dateToday}T12:28:09.151+01:00"} +{"os": {"cpu": {"percent": 9,"load_average": {"1m": 0.09,"5m": 0.33,"15m": 0.3}},"mem": {"total_in_bytes": 8389443584,"free_in_bytes": 1516830720,"used_in_bytes": 6872612864,"free_percent": 18,"used_percent": 82}},"process": {"timestamp": 1490441284147,"open_file_descriptors": 322,"max_file_descriptors": 65536},"jvm": {"timestamp": 1490441289151,"uptime_in_millis": 431143,"mem": {"heap_used_in_bytes": 107843824,"heap_used_percent": 20,"heap_committed_in_bytes": 516423680,"heap_max_in_bytes": 516423680,"non_heap_used_in_bytes": 85299096, "non_heap_committed_in_bytes": 87949312,"pools": {"young": {"used_in_bytes": 75466696,"max_in_bytes": 139460608,"peak_used_in_bytes": 138936320,"peak_max_in_bytes": 142606336},"survivor": {"used_in_bytes": 13317496,"max_in_bytes": 19922944,"peak_used_in_bytes": 17406176,"peak_max_in_bytes": 22020096},"old": {"used_in_bytes": 19059632,"max_in_bytes": 358088704,"peak_used_in_bytes": 19059632,"peak_max_in_bytes": 358088704}}},"threads": {"count": 50,"peak_count": 51},"gc": {"collectors": {"young": {"collection_count": 9,"collection_time_in_millis": 144},"old": {"collection_count": 2,"collection_time_in_millis": 105}}}},"gateway": "1876c024-c6a2-409a-b6c0-24c6a2e09a5f","hostname": "debian","@timestamp": "${dateTimeToday}"} diff --git a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/request.ftl b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/request.ftl index 25eea67de02..5f22250f168 100644 --- a/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/request.ftl +++ b/gravitee-apim-repository/gravitee-apim-repository-elasticsearch/src/test/resources/freemarker/request.ftl @@ -1,34 +1,34 @@ { "index" :{ ${indexNameToday}, "_id": "AVsJ2NpUuDfGHrKOwwSX"} } -{"id": "be3768b1-e6f7-4ae2-b768-b1e6f71ae260","transaction": "d78460be-3e9a-404a-8460-be3e9a604afe","uri": "/whoami","status": 200,"method": 3,"request-content-type": null,"response-time": 312,"api-response-time": 297,"proxy-latency": 15,"response-content-type": "application/json","request-content-length": null,"response-content-length": 446,"api-key": null,"user": "127.0.0.1","plan": "2b92e520-1316-4678-92e5-201316b67802","api": "48bddce0-11ea-4ff4-bddc-e011ea5ff4be","application": "1","local-address": "127.0.0.1","remote-address": "127.0.0.1","endpoint": "https://api.gravitee.io/whoami","tenant": null,"hostname": "debian","@timestamp": "${dateToday}T11:00:53.827+02:00", "gateway": "gateway"} +{"id": "be3768b1-e6f7-4ae2-b768-b1e6f71ae260","transaction": "d78460be-3e9a-404a-8460-be3e9a604afe","uri": "/whoami","status": 200,"method": 3,"request-content-type": null,"response-time": 312,"api-response-time": 297,"proxy-latency": 15,"response-content-type": "application/json","request-content-length": null,"response-content-length": 446,"api-key": null,"user": "127.0.0.1","plan": "2b92e520-1316-4678-92e5-201316b67802","api": "48bddce0-11ea-4ff4-bddc-e011ea5ff4be","application": "1","local-address": "127.0.0.1","remote-address": "127.0.0.1","endpoint": "https://api.gravitee.io/whoami","tenant": null,"hostname": "debian","@timestamp": "${dateTimeToday}", "gateway": "gateway"} { "index" :{ ${indexNameToday}, "_id": "AVsGhMNOooztmMPf1gPL"} } -{"id": "21e1cfd9-8d42-4427-a1cf-d98d4234272e","transaction": "a278b470-ed66-4a41-b8b4-70ed669a41ff","uri": "/echo","status": 200,"method": 3,"request-content-type": null,"response-time": 317,"api-response-time": 260,"proxy-latency": 57,"response-content-type": "application/json","request-content-length": null,"response-content-length": 1113,"api-key": null,"user": "127.0.0.1","plan": "4fc3405b-d913-4500-8340-5bd9139500d7","api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","application": "1","local-address": "127.0.0.1","remote-address": "127.0.0.1","endpoint": "https://api.gravitee.io/echo","tenant": null,"hostname": "debian","@timestamp": "${dateToday}T18:30:12.391+01:00", "gateway": "gateway"} +{"id": "21e1cfd9-8d42-4427-a1cf-d98d4234272e","transaction": "a278b470-ed66-4a41-b8b4-70ed669a41ff","uri": "/echo","status": 200,"method": 3,"request-content-type": null,"response-time": 317,"api-response-time": 260,"proxy-latency": 57,"response-content-type": "application/json","request-content-length": null,"response-content-length": 1113,"api-key": null,"user": "127.0.0.1","plan": "4fc3405b-d913-4500-8340-5bd9139500d7","api": "bf19088c-f2c7-4fec-9908-8cf2c75fece4","application": "1","local-address": "127.0.0.1","remote-address": "127.0.0.1","endpoint": "https://api.gravitee.io/echo","tenant": null,"hostname": "debian","@timestamp": "${dateTimeToday}", "gateway": "gateway"} { "index" :{ ${indexNameToday}, "_id": "AVxViNrrrXoTnnvkvhK9"}} -{ "id": "ef0b9c63-cdf5-49a5-8b9c-63cdf559a5fe", "transaction": "0c8318d7-1b13-48b3-8318-d71b1328b3a2", "uri": "/echo", "status": 200, "method": 3, "response-time": 225, "api-response-time": 199, "proxy-latency": 26, "request-content-length": 0, "response-content-length": 700, "api-key": "1c70a4ca-f673-4dda-91ff-ec77822a4d38", "user": "1ad82083-56fc-4c1c-9820-8356fc8c1c90", "plan": "858760f9-5d97-4bd8-8760-f95d970bd86e", "api": "e2c0ecd5-893a-458d-80ec-d5893ab58d12", "application": "cdf6ab93-cb6f-4ea9-b6ab-93cb6f0ea9e2", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/echo", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "X-gravitee-api-key": [ "1c70a4ca-f673-4dda-91ff-ec77822a4d38" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "eb077f14-0cc8-6e9e-a91e-5f54aaf0e2fb" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "0c8318d7-1b13-48b3-8318-d71b1328b3a2" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "0c8318d7-1b13-48b3-8318-d71b1328b3a2" ], "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Mon, 29 May 2017 18:57:16 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "eb077f14-0cc8-6e9e-a91e-5f54aaf0e2fb" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "0c8318d7-1b13-48b3-8318-d71b1328b3a2" ] }, "proxy-response-headers": { "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Mon, 29 May 2017 18:57:16 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateToday}T18:47:28.634+00:00", "gateway": "gateway"} +{ "id": "ef0b9c63-cdf5-49a5-8b9c-63cdf559a5fe", "transaction": "0c8318d7-1b13-48b3-8318-d71b1328b3a2", "uri": "/echo", "status": 200, "method": 3, "response-time": 225, "api-response-time": 199, "proxy-latency": 26, "request-content-length": 0, "response-content-length": 700, "api-key": "1c70a4ca-f673-4dda-91ff-ec77822a4d38", "user": "1ad82083-56fc-4c1c-9820-8356fc8c1c90", "plan": "858760f9-5d97-4bd8-8760-f95d970bd86e", "api": "e2c0ecd5-893a-458d-80ec-d5893ab58d12", "application": "cdf6ab93-cb6f-4ea9-b6ab-93cb6f0ea9e2", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/echo", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "X-gravitee-api-key": [ "1c70a4ca-f673-4dda-91ff-ec77822a4d38" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "eb077f14-0cc8-6e9e-a91e-5f54aaf0e2fb" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "0c8318d7-1b13-48b3-8318-d71b1328b3a2" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "0c8318d7-1b13-48b3-8318-d71b1328b3a2" ], "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Mon, 29 May 2017 18:57:16 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "eb077f14-0cc8-6e9e-a91e-5f54aaf0e2fb" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "0c8318d7-1b13-48b3-8318-d71b1328b3a2" ] }, "proxy-response-headers": { "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Mon, 29 May 2017 18:57:16 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateTimeToday}", "gateway": "gateway"} { "index" :{ ${indexNameToday}, "_id": "AVxViO53rXoTnnvkvhLA"}} -{ "id": "6d0dbecb-a172-489f-8dbe-cba172389fc4", "transaction": "8a288145-6874-4762-a881-45687407624d", "uri": "/whoami", "status": 499, "method": 7, "response-time": 195, "api-response-time": 182, "proxy-latency": 13, "request-content-length": 0, "response-content-length": 53, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Content-Length": [ "0" ], "Cache-Control": [ "no-cache" ], "Origin": [ "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "b3e83f45-b8fc-8061-c9b6-5d60019619fd" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "8a288145-6874-4762-a881-45687407624d" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "8a288145-6874-4762-a881-45687407624d" ], "Content-Length": [ "53" ], "Content-Type": [ "text/html; charset=utf-8" ], "Date": [ "Mon, 29 May 2017 18:57:22 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Content-Length": [ "0" ], "Cache-Control": [ "no-cache" ], "Origin": [ "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "b3e83f45-b8fc-8061-c9b6-5d60019619fd" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "8a288145-6874-4762-a881-45687407624d" ] }, "proxy-response-headers": { "Content-Length": [ "53" ], "Content-Type": [ "text/html; charset=utf-8" ], "Date": [ "Mon, 29 May 2017 18:57:22 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateToday}T01:45:47.680+00:00", "gateway": "gateway"} +{ "id": "6d0dbecb-a172-489f-8dbe-cba172389fc4", "transaction": "8a288145-6874-4762-a881-45687407624d", "uri": "/whoami", "status": 499, "method": 7, "response-time": 195, "api-response-time": 182, "proxy-latency": 13, "request-content-length": 0, "response-content-length": 53, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Content-Length": [ "0" ], "Cache-Control": [ "no-cache" ], "Origin": [ "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "b3e83f45-b8fc-8061-c9b6-5d60019619fd" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "8a288145-6874-4762-a881-45687407624d" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "8a288145-6874-4762-a881-45687407624d" ], "Content-Length": [ "53" ], "Content-Type": [ "text/html; charset=utf-8" ], "Date": [ "Mon, 29 May 2017 18:57:22 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Content-Length": [ "0" ], "Cache-Control": [ "no-cache" ], "Origin": [ "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "b3e83f45-b8fc-8061-c9b6-5d60019619fd" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "8a288145-6874-4762-a881-45687407624d" ] }, "proxy-response-headers": { "Content-Length": [ "53" ], "Content-Type": [ "text/html; charset=utf-8" ], "Date": [ "Mon, 29 May 2017 18:57:22 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateTimeToday}", "gateway": "gateway"} { "index" :{ ${indexNameToday}, "_id": "AVxVhwWQrXoTnnvkvhKV"}} -{ "id": "74e165a4-38a5-4c29-a165-a438a53c297b", "transaction": "33ab6985-7fa6-4887-ab69-857fa6d8873f", "uri": "/echo", "status": 401, "method": 3, "response-time": 5, "api-response-time": null, "proxy-latency": 6, "request-content-length": 0, "response-content-length": 0, "api-key": null, "user": null, "plan": null, "api": "e2c0ecd5-893a-458d-80ec-d5893ab58d12", "application": null, "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": null, "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "max-age=0" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "33ab6985-7fa6-4887-ab69-857fa6d8873f" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "33ab6985-7fa6-4887-ab69-857fa6d8873f" ], "Connection": [ "close" ], "Content-Length": [ "60" ], "Content-Type": [ "application/json" ] }, "proxy-request-headers": null, "proxy-response-headers": null, "hostname": "gateway", "@timestamp": "${dateToday}T18:45:28.567+00:00", "gateway": "gateway"} +{ "id": "74e165a4-38a5-4c29-a165-a438a53c297b", "transaction": "33ab6985-7fa6-4887-ab69-857fa6d8873f", "uri": "/echo", "status": 401, "method": 3, "response-time": 5, "api-response-time": null, "proxy-latency": 6, "request-content-length": 0, "response-content-length": 0, "api-key": null, "user": null, "plan": null, "api": "e2c0ecd5-893a-458d-80ec-d5893ab58d12", "application": null, "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": null, "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "max-age=0" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "33ab6985-7fa6-4887-ab69-857fa6d8873f" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "33ab6985-7fa6-4887-ab69-857fa6d8873f" ], "Connection": [ "close" ], "Content-Length": [ "60" ], "Content-Type": [ "application/json" ] }, "proxy-request-headers": null, "proxy-response-headers": null, "hostname": "gateway", "@timestamp": "${dateTimeToday}", "gateway": "gateway"} { "index" :{ ${indexNameToday}, "_id": "AVxa0i0fLKmeaYDnLd3-"}} -{ "id": "e0bceaf6-9350-4599-bcea-f69350f5992d", "transaction": "27b0fcf9-0729-44db-b0fc-f90729a4dbf0", "uri": "/echo", "status": 200, "method": 3, "response-time": 505, "api-response-time": 485, "proxy-latency": 20, "request-content-length": 0, "response-content-length": 700, "api-key": "1c70a4ca-f673-4dda-91ff-ec77822a4d38", "user": "1ad82083-56fc-4c1c-9820-8356fc8c1c90", "plan": "858760f9-5d97-4bd8-8760-f95d970bd86e", "api": "e2c0ecd5-893a-458d-80ec-d5893ab58d12", "application": "cdf6ab93-cb6f-4ea9-b6ab-93cb6f0ea9e2", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/echo", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "X-gravitee-api-key": [ "1c70a4ca-f673-4dda-91ff-ec77822a4d38" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "5546bffb-3a9e-bce1-619e-43395b0b9408" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "27b0fcf9-0729-44db-b0fc-f90729a4dbf0" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "27b0fcf9-0729-44db-b0fc-f90729a4dbf0" ], "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Tue, 30 May 2017 19:35:26 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "5546bffb-3a9e-bce1-619e-43395b0b9408" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "27b0fcf9-0729-44db-b0fc-f90729a4dbf0" ] }, "proxy-response-headers": { "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Tue, 30 May 2017 19:35:26 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateToday}T19:25:41.397+00:00", "gateway": "gateway"} +{ "id": "e0bceaf6-9350-4599-bcea-f69350f5992d", "transaction": "27b0fcf9-0729-44db-b0fc-f90729a4dbf0", "uri": "/echo", "status": 200, "method": 3, "response-time": 505, "api-response-time": 485, "proxy-latency": 20, "request-content-length": 0, "response-content-length": 700, "api-key": "1c70a4ca-f673-4dda-91ff-ec77822a4d38", "user": "1ad82083-56fc-4c1c-9820-8356fc8c1c90", "plan": "858760f9-5d97-4bd8-8760-f95d970bd86e", "api": "e2c0ecd5-893a-458d-80ec-d5893ab58d12", "application": "cdf6ab93-cb6f-4ea9-b6ab-93cb6f0ea9e2", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/echo", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "X-gravitee-api-key": [ "1c70a4ca-f673-4dda-91ff-ec77822a4d38" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "5546bffb-3a9e-bce1-619e-43395b0b9408" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "27b0fcf9-0729-44db-b0fc-f90729a4dbf0" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "27b0fcf9-0729-44db-b0fc-f90729a4dbf0" ], "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Tue, 30 May 2017 19:35:26 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "5546bffb-3a9e-bce1-619e-43395b0b9408" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "27b0fcf9-0729-44db-b0fc-f90729a4dbf0" ] }, "proxy-response-headers": { "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Tue, 30 May 2017 19:35:26 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateTimeToday}", "gateway": "gateway"} { "index" :{ ${indexNameYesterday}, "_id": "AVxa0gYCLKmeaYDnLd34"}} -{ "id": "79eccde3-88ed-44e2-accd-e388eda4e2b7", "transaction": "51941b39-e367-4ed6-941b-39e3674ed6a2", "uri": "/echo", "status": 401, "method": 3, "response-time": 48, "api-response-time": null, "proxy-latency": 49, "request-content-length": 0, "response-content-length": 0, "api-key": null, "user": null, "plan": null, "api": "e2c0ecd5-893a-458d-80ec-d5893ab58d12", "application": null, "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": null, "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "max-age=0" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "51941b39-e367-4ed6-941b-39e3674ed6a2" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "51941b39-e367-4ed6-941b-39e3674ed6a2" ], "Connection": [ "close" ], "Content-Length": [ "60" ], "Content-Type": [ "application/json" ] }, "proxy-request-headers": null, "proxy-response-headers": null, "hostname": "gateway", "@timestamp": "${dateYesterday}T19:25:30.149+00:00", "gateway": "gateway"} +{ "id": "79eccde3-88ed-44e2-accd-e388eda4e2b7", "transaction": "51941b39-e367-4ed6-941b-39e3674ed6a2", "uri": "/echo", "status": 401, "method": 3, "response-time": 48, "api-response-time": null, "proxy-latency": 49, "request-content-length": 0, "response-content-length": 0, "api-key": null, "user": null, "plan": null, "api": "e2c0ecd5-893a-458d-80ec-d5893ab58d12", "application": null, "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": null, "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "max-age=0" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "51941b39-e367-4ed6-941b-39e3674ed6a2" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "51941b39-e367-4ed6-941b-39e3674ed6a2" ], "Connection": [ "close" ], "Content-Length": [ "60" ], "Content-Type": [ "application/json" ] }, "proxy-request-headers": null, "proxy-response-headers": null, "hostname": "gateway", "@timestamp": "${dateTimeYesterday}", "gateway": "gateway"} { "index" :{ ${indexNameYesterday}, "_id": "AVyN4SJ6FQI2bNU8MTYv"}} -{ "id": "ac096af0-cc48-4264-896a-f0cc4872644e", "transaction": "ba571368-f5e6-48b7-9713-68f5e698b761", "uri": "/echo", "status": 200, "method": 3, "response-time": 51, "api-response-time": 50, "proxy-latency": 1, "request-content-length": 0, "response-content-length": 700, "api-key": "e14cfcb8-188d-4cb9-ad06-002aea5aab12", "user": "6d3aca99-138e-4672-baca-99138ec67266", "plan": "1fe07b71-ae91-4c15-a07b-71ae919c1560", "api": "4d8d6ca8-c2c7-4ab8-8d6c-a8c2c79ab8a1", "application": "31b0d824-4f6a-4f58-b0d8-244f6a4f58d7", "local-address": "172.18.0.6", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/echo", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "X-gravitee-api-key": [ "e14cfcb8-188d-4cb9-ad06-002aea5aab12" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "fef14ef9-28ba-7f85-7146-999e763fd4bd" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "ba571368-f5e6-48b7-9713-68f5e698b761" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "ba571368-f5e6-48b7-9713-68f5e698b761" ], "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 09 Jun 2017 17:32:15 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "fef14ef9-28ba-7f85-7146-999e763fd4bd" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "ba571368-f5e6-48b7-9713-68f5e698b761" ] }, "proxy-response-headers": { "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 09 Jun 2017 17:32:15 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateYesterday}T17:22:36.575+00:00", "gateway": "gateway"} +{ "id": "ac096af0-cc48-4264-896a-f0cc4872644e", "transaction": "ba571368-f5e6-48b7-9713-68f5e698b761", "uri": "/echo", "status": 200, "method": 3, "response-time": 51, "api-response-time": 50, "proxy-latency": 1, "request-content-length": 0, "response-content-length": 700, "api-key": "e14cfcb8-188d-4cb9-ad06-002aea5aab12", "user": "6d3aca99-138e-4672-baca-99138ec67266", "plan": "1fe07b71-ae91-4c15-a07b-71ae919c1560", "api": "4d8d6ca8-c2c7-4ab8-8d6c-a8c2c79ab8a1", "application": "31b0d824-4f6a-4f58-b0d8-244f6a4f58d7", "local-address": "172.18.0.6", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/echo", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "X-gravitee-api-key": [ "e14cfcb8-188d-4cb9-ad06-002aea5aab12" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "fef14ef9-28ba-7f85-7146-999e763fd4bd" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "ba571368-f5e6-48b7-9713-68f5e698b761" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "ba571368-f5e6-48b7-9713-68f5e698b761" ], "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 09 Jun 2017 17:32:15 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "fef14ef9-28ba-7f85-7146-999e763fd4bd" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "ba571368-f5e6-48b7-9713-68f5e698b761" ] }, "proxy-response-headers": { "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 09 Jun 2017 17:32:15 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateTimeYesterday}", "gateway": "gateway"} { "index" :{ ${indexNameYesterday}, "_id": "AVyN4SJ6FQI2bNU8MTYx"}} -{ "id": "ccfcac17-1975-4548-bcac-1719753548dc", "transaction": "22950ed1-8fc4-45c4-950e-d18fc4b5c4e1", "uri": "/echo", "status": 200, "method": 3, "response-time": 44, "api-response-time": 43, "proxy-latency": 1, "request-content-length": 0, "response-content-length": 700, "api-key": "e14cfcb8-188d-4cb9-ad06-002aea5aab12", "user": "6d3aca99-138e-4672-baca-99138ec67266", "plan": "1fe07b71-ae91-4c15-a07b-71ae919c1560", "api": "4d8d6ca8-c2c7-4ab8-8d6c-a8c2c79ab8a1", "application": "31b0d824-4f6a-4f58-b0d8-244f6a4f58d7", "local-address": "172.18.0.6", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/echo", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "X-gravitee-api-key": [ "e14cfcb8-188d-4cb9-ad06-002aea5aab12" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "71496763-20e7-9e2f-c85d-0e2ad51a1f37" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "22950ed1-8fc4-45c4-950e-d18fc4b5c4e1" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "22950ed1-8fc4-45c4-950e-d18fc4b5c4e1" ], "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 09 Jun 2017 17:32:19 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "71496763-20e7-9e2f-c85d-0e2ad51a1f37" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "22950ed1-8fc4-45c4-950e-d18fc4b5c4e1" ] }, "proxy-response-headers": { "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 09 Jun 2017 17:32:19 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateYesterday}T17:22:40.212+00:00", "gateway": "gateway"} +{ "id": "ccfcac17-1975-4548-bcac-1719753548dc", "transaction": "22950ed1-8fc4-45c4-950e-d18fc4b5c4e1", "uri": "/echo", "status": 200, "method": 3, "response-time": 44, "api-response-time": 43, "proxy-latency": 1, "request-content-length": 0, "response-content-length": 700, "api-key": "e14cfcb8-188d-4cb9-ad06-002aea5aab12", "user": "6d3aca99-138e-4672-baca-99138ec67266", "plan": "1fe07b71-ae91-4c15-a07b-71ae919c1560", "api": "4d8d6ca8-c2c7-4ab8-8d6c-a8c2c79ab8a1", "application": "31b0d824-4f6a-4f58-b0d8-244f6a4f58d7", "local-address": "172.18.0.6", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/echo", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "X-gravitee-api-key": [ "e14cfcb8-188d-4cb9-ad06-002aea5aab12" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "71496763-20e7-9e2f-c85d-0e2ad51a1f37" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "22950ed1-8fc4-45c4-950e-d18fc4b5c4e1" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "22950ed1-8fc4-45c4-950e-d18fc4b5c4e1" ], "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 09 Jun 2017 17:32:19 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "no-cache" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Postman-Token": [ "71496763-20e7-9e2f-c85d-0e2ad51a1f37" ], "Accept": [ "*/*" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "22950ed1-8fc4-45c4-950e-d18fc4b5c4e1" ] }, "proxy-response-headers": { "Content-Length": [ "700" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 09 Jun 2017 17:32:19 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateTimeYesterday}", "gateway": "gateway"} { "index" :{ ${indexNameYesterday}, "_id": "AVyN4EtnFQI2bNU8MTYY"}} -{ "id": "3ac24082-f767-435d-8240-82f767f35d37", "transaction": "d56661b2-f9bf-4236-a661-b2f9bf023627", "uri": "/echo", "status": 401, "method": 3, "response-time": 2, "api-response-time": null, "proxy-latency": 3, "request-content-length": 0, "response-content-length": 0, "api-key": null, "user": null, "plan": null, "api": "4d8d6ca8-c2c7-4ab8-8d6c-a8c2c79ab8a1", "application": null, "local-address": "172.18.0.6", "remote-address": "172.18.0.1", "endpoint": null, "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "max-age=0" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "d56661b2-f9bf-4236-a661-b2f9bf023627" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "d56661b2-f9bf-4236-a661-b2f9bf023627" ], "Connection": [ "close" ], "Content-Length": [ "60" ], "Content-Type": [ "application/json" ] }, "proxy-request-headers": null, "proxy-response-headers": null, "hostname": "gateway", "@timestamp": "${dateYesterday}T17:21:40.980+00:00", "gateway": "gateway", "path": "/mypath", "host": "localhost:8082"} +{ "id": "3ac24082-f767-435d-8240-82f767f35d37", "transaction": "d56661b2-f9bf-4236-a661-b2f9bf023627", "uri": "/echo", "status": 401, "method": 3, "response-time": 2, "api-response-time": null, "proxy-latency": 3, "request-content-length": 0, "response-content-length": 0, "api-key": null, "user": null, "plan": null, "api": "4d8d6ca8-c2c7-4ab8-8d6c-a8c2c79ab8a1", "application": null, "local-address": "172.18.0.6", "remote-address": "172.18.0.1", "endpoint": null, "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Cache-Control": [ "max-age=0" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "d56661b2-f9bf-4236-a661-b2f9bf023627" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "d56661b2-f9bf-4236-a661-b2f9bf023627" ], "Connection": [ "close" ], "Content-Length": [ "60" ], "Content-Type": [ "application/json" ] }, "proxy-request-headers": null, "proxy-response-headers": null, "hostname": "gateway", "@timestamp": "${dateTimeYesterday}", "gateway": "gateway", "path": "/mypath", "host": "localhost:8082"} { "index" :{ ${indexNameYesterday}, "_id": "29381bce-df59-47b2-b81b-cedf59c7b23e"}} -{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23e", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/whoami", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateYesterday}T11:45:47.680+00:00", "gateway": "gateway"} +{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23e", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/whoami", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateTimeYesterday}", "gateway": "gateway"} { "index" :{ ${indexNameYesterday}, "_id": "29381bce-df59-47b2-b81b-cedf59c7b23a"}} -{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23a", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/whoami", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateYesterday}T11:45:47.680+00:00", "gateway": "gateway"} +{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23a", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/whoami", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateTimeYesterday}", "gateway": "gateway"} { "index" :{ ${indexNameYesterday}, "_id": "29381bce-df59-47b2-b81b-cedf59c7b23b"}} -{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23b", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/whoami", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateYesterday}T11:45:47.680+00:00", "gateway": "gateway"} +{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23b", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/whoami", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateTimeYesterday}", "gateway": "gateway"} { "index" :{ ${indexNameYesterday}, "_id": "29381bce-df59-47b2-b81b-cedf59c7b23c"}} -{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23c", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/whoami", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateYesterday}T11:45:47.680+00:00", "gateway": "gateway"} +{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23c", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/whoami", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateTimeYesterday}", "gateway": "gateway"} { "index" :{ ${indexNameYesterday}, "_id": "29381bce-df59-47b2-b81b-cedf59c7b23d"}} -{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23d", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/whoami", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateYesterday}T11:45:47.680+00:00", "gateway": "gateway"} +{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23d", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/whoami", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateTimeYesterday}", "gateway": "gateway"} { "index" :{ ${indexNameYesterday}, "_id": "29381bce-df59-47b2-b81b-cedf59c7b23f"}} -{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23f", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/whoami", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateYesterday}T11:45:47.680+00:00", "gateway": "gateway"} +{ "id": "29381bce-df59-47b2-b81b-cedf59c7b23f", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/whoami", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "f1996fcc-d9a0-467d-996f-ccd9a0d67ded", "api": "be0aa9c9-ca1c-4d0a-8aa9-c9ca1c5d0aab", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateTimeYesterday}", "gateway": "gateway"} { "index" :{ ${indexNameYesterday}, "_id": "4de64e15-2f4a-464f-9fc3-ed5b1f93d224"}} -{ "id": "4de64e15-2f4a-464f-9fc3-ed5b1f93d224", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/notify", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "99489ceb-8066-4841-aa80-378737423fa7", "api": "602b133d-a70a-4590-9cd2-684b1668376b", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateYesterday}T00:00:47.680+00:00", "gateway": "gateway"} +{ "id": "4de64e15-2f4a-464f-9fc3-ed5b1f93d224", "transaction": "3253e8c5-0905-4cf7-93e8-c509055cf773", "uri": "/notify", "status": 200, "method": 3, "response-time": 438, "api-response-time": 399, "proxy-latency": 39, "request-content-length": 0, "response-content-length": 387, "api-key": null, "user": "172.18.0.1", "plan": "99489ceb-8066-4841-aa80-378737423fa7", "api": "602b133d-a70a-4590-9cd2-684b1668376b", "application": "1", "local-address": "172.18.0.5", "remote-address": "172.18.0.1", "endpoint": "https://api.gravitee.io/whoami", "tenant": null, "client-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "client-response-headers": { "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ], "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "proxy-request-headers": { "Host": [ "localhost:8082" ], "Connection": [ "keep-alive" ], "Upgrade-Insecure-Requests": [ "1" ], "User-Agent": [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" ], "Accept": [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ], "Accept-Encoding": [ "gzip, deflate, sdch, br" ], "Accept-Language": [ "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" ], "X-Gravitee-Transaction-Id": [ "3253e8c5-0905-4cf7-93e8-c509055cf773" ] }, "proxy-response-headers": { "Content-Length": [ "387" ], "Content-Type": [ "application/json" ], "Date": [ "Fri, 19 May 2017 11:55:40 GMT" ] }, "hostname": "gateway", "@timestamp": "${dateTimeYesterday}", "gateway": "gateway"}