Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 10:49:45.599 [sync-1] [3ea5ea94-d696-42e7-a5ea-94d69642e7c2] INFO i.g.g.r.h.i.DefaultReactorHandlerRegistry - Registering a new handler for Api{id='3ea5ea94-d696-42e7-a5ea-94d69642e7c2', name='Hello World', version='1.0'} on path /demo/
- 10:49:45.967 [vert.x-eventloop-thread-0] [] ERROR i.g.e.client.http.HttpClient - Unable to put template mapping: status[500] template[{
- "mappings": {
- "request": {
- "properties": {
- "@timestamp": {
- "type": "date"
- },
- "api": {
- "type": "keyword"
- },
- "api-key": {
- "type": "keyword",
- "index": false
- },
- "api-response-time": {
- "type": "integer"
- },
- "application": {
- "type": "keyword"
- },
- "endpoint": {
- "type": "keyword"
- },
- "gateway": {
- "type": "keyword"
- },
- "local-address": {
- "type": "keyword",
- "index": false
- },
- "message": {
- "type": "keyword",
- "index": false
- },
- "method": {
- "type": "short"
- },
- "plan": {
- "type": "keyword"
- },
- "proxy-latency": {
- "type": "integer",
- "index": false
- },
- "remote-address": {
- "type": "ip",
- "index": false
- },
- "geoip" : {
- "properties": {
- "continent_name": {
- "type": "keyword",
- "index": true
- },
- "country_iso_code": {
- "type": "keyword",
- "index": true
- },
- "region_name": {
- "type": "keyword",
- "index": true
- },
- "city_name": {
- "type": "keyword",
- "index": true
- },
- "location": {
- "type": "geo_point"
- }
- }
- },
- "request-content-length": {
- "type": "integer",
- "index": false
- },
- "response-content-length": {
- "type": "integer",
- "index": false
- },
- "response-time": {
- "type": "integer"
- },
- "status": {
- "type": "short"
- },
- "tenant": {
- "type": "keyword"
- },
- "transaction": {
- "type": "keyword"
- },
- "uri": {
- "type": "keyword"
- },
- "path": {
- "type": "keyword"
- },
- "mapped-path": {
- "type": "keyword"
- },
- "host": {
- "type": "keyword"
- }
- }
- },
- "monitor": {
- "properties": {
- "gateway": {
- "type": "keyword"
- },
- "hostname": {
- "type": "keyword"
- }
- }
- },
- "log": {
- "properties": {
- "client-request": {
- "type": "object",
- "enabled": false
- },
- "client-response": {
- "type": "object",
- "enabled": false
- },
- "proxy-request": {
- "type": "object",
- "enabled": false
- },
- "proxy-response": {
- "type": "object",
- "enabled": false
- }
- }
- },
- "health": {
- "properties": {
- "api": {
- "type": "keyword"
- },
- "available": {
- "type": "boolean",
- "index": false
- },
- "endpoint": {
- "type": "keyword"
- },
- "gateway": {
- "type": "keyword"
- },
- "response-time": {
- "type": "integer"
- },
- "state": {
- "type": "integer",
- "index": false
- },
- "steps": {
- "type": "object",
- "enabled": false
- },
- "success": {
- "type": "boolean",
- "index": false
- }
- }
- }
- },
- "settings": {
- "index.number_of_shards":5,
- "index.number_of_replicas":1,
- "index.refresh_interval": "5s"
- },
- "template": "logs-vn-94016-i-demo-gravitee-*"
- }] response[{"error":{"root_cause":[{"type":"runtime_exception","reason":"java.lang.NullPointerException"}],"type":"runtime_exception","reason":"java.lang.NullPointerException","caused_by":{"type":"null_pointer_exception","reason":null}},"status":500}]
- 10:49:45.994 [vert.x-eventloop-thread-0] [] ERROR i.g.r.e.ElasticsearchReporter - An error occurs while creating index mapping template
- io.gravitee.elasticsearch.exception.ElasticsearchException: Unable to put template mapping
- at io.gravitee.elasticsearch.client.http.HttpClient.lambda$putTemplate$5(HttpClient.java:206)
- at io.reactivex.internal.operators.single.SingleFlatMapCompletable$FlatMapCompletableObserver.onSuccess(SingleFlatMapCompletable.java:83)
- at io.vertx.reactivex.core.impl.AsyncResultSingle.lambda$subscribeActual$0(AsyncResultSingle.java:46)
- at io.vertx.reactivex.ext.web.client.HttpRequest$4.handle(HttpRequest.java:367)
- at io.vertx.reactivex.ext.web.client.HttpRequest$4.handle(HttpRequest.java:364)
- at io.vertx.ext.web.client.impl.HttpContext.lambda$null$0(HttpContext.java:125)
- at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:339)
- at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
- at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
- at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
- at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
- at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
- at java.lang.Thread.run(Thread.java:748)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement