Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.27 KB | None | 0 0
  1. 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/
  2. 10:49:45.967 [vert.x-eventloop-thread-0] [] ERROR i.g.e.client.http.HttpClient - Unable to put template mapping: status[500] template[{
  3. "mappings": {
  4. "request": {
  5. "properties": {
  6. "@timestamp": {
  7. "type": "date"
  8. },
  9. "api": {
  10. "type": "keyword"
  11. },
  12. "api-key": {
  13. "type": "keyword",
  14. "index": false
  15. },
  16. "api-response-time": {
  17. "type": "integer"
  18. },
  19. "application": {
  20. "type": "keyword"
  21. },
  22. "endpoint": {
  23. "type": "keyword"
  24. },
  25. "gateway": {
  26. "type": "keyword"
  27. },
  28. "local-address": {
  29. "type": "keyword",
  30. "index": false
  31. },
  32. "message": {
  33. "type": "keyword",
  34. "index": false
  35. },
  36. "method": {
  37. "type": "short"
  38. },
  39. "plan": {
  40. "type": "keyword"
  41. },
  42. "proxy-latency": {
  43. "type": "integer",
  44. "index": false
  45. },
  46. "remote-address": {
  47. "type": "ip",
  48. "index": false
  49. },
  50. "geoip" : {
  51. "properties": {
  52. "continent_name": {
  53. "type": "keyword",
  54. "index": true
  55. },
  56. "country_iso_code": {
  57. "type": "keyword",
  58. "index": true
  59. },
  60. "region_name": {
  61. "type": "keyword",
  62. "index": true
  63. },
  64. "city_name": {
  65. "type": "keyword",
  66. "index": true
  67. },
  68. "location": {
  69. "type": "geo_point"
  70. }
  71. }
  72. },
  73. "request-content-length": {
  74. "type": "integer",
  75. "index": false
  76. },
  77. "response-content-length": {
  78. "type": "integer",
  79. "index": false
  80. },
  81. "response-time": {
  82. "type": "integer"
  83. },
  84. "status": {
  85. "type": "short"
  86. },
  87. "tenant": {
  88. "type": "keyword"
  89. },
  90. "transaction": {
  91. "type": "keyword"
  92. },
  93. "uri": {
  94. "type": "keyword"
  95. },
  96. "path": {
  97. "type": "keyword"
  98. },
  99. "mapped-path": {
  100. "type": "keyword"
  101. },
  102. "host": {
  103. "type": "keyword"
  104. }
  105. }
  106. },
  107. "monitor": {
  108. "properties": {
  109. "gateway": {
  110. "type": "keyword"
  111. },
  112. "hostname": {
  113. "type": "keyword"
  114. }
  115. }
  116. },
  117. "log": {
  118. "properties": {
  119. "client-request": {
  120. "type": "object",
  121. "enabled": false
  122. },
  123. "client-response": {
  124. "type": "object",
  125. "enabled": false
  126. },
  127. "proxy-request": {
  128. "type": "object",
  129. "enabled": false
  130. },
  131. "proxy-response": {
  132. "type": "object",
  133. "enabled": false
  134. }
  135. }
  136. },
  137. "health": {
  138. "properties": {
  139. "api": {
  140. "type": "keyword"
  141. },
  142. "available": {
  143. "type": "boolean",
  144. "index": false
  145. },
  146. "endpoint": {
  147. "type": "keyword"
  148. },
  149. "gateway": {
  150. "type": "keyword"
  151. },
  152. "response-time": {
  153. "type": "integer"
  154. },
  155. "state": {
  156. "type": "integer",
  157. "index": false
  158. },
  159. "steps": {
  160. "type": "object",
  161. "enabled": false
  162. },
  163. "success": {
  164. "type": "boolean",
  165. "index": false
  166. }
  167. }
  168. }
  169. },
  170. "settings": {
  171. "index.number_of_shards":5,
  172. "index.number_of_replicas":1,
  173. "index.refresh_interval": "5s"
  174. },
  175. "template": "logs-vn-94016-i-demo-gravitee-*"
  176. }] 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}]
  177. 10:49:45.994 [vert.x-eventloop-thread-0] [] ERROR i.g.r.e.ElasticsearchReporter - An error occurs while creating index mapping template
  178. io.gravitee.elasticsearch.exception.ElasticsearchException: Unable to put template mapping
  179. at io.gravitee.elasticsearch.client.http.HttpClient.lambda$putTemplate$5(HttpClient.java:206)
  180. at io.reactivex.internal.operators.single.SingleFlatMapCompletable$FlatMapCompletableObserver.onSuccess(SingleFlatMapCompletable.java:83)
  181. at io.vertx.reactivex.core.impl.AsyncResultSingle.lambda$subscribeActual$0(AsyncResultSingle.java:46)
  182. at io.vertx.reactivex.ext.web.client.HttpRequest$4.handle(HttpRequest.java:367)
  183. at io.vertx.reactivex.ext.web.client.HttpRequest$4.handle(HttpRequest.java:364)
  184. at io.vertx.ext.web.client.impl.HttpContext.lambda$null$0(HttpContext.java:125)
  185. at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:339)
  186. at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
  187. at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
  188. at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
  189. at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
  190. at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
  191. at java.lang.Thread.run(Thread.java:748)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement