Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kibana Request Dashboard Error (java.io.FileNotFoundException) Index Creation #78

Open
RakeshHebbar opened this issue Jul 28, 2020 · 0 comments

Comments

@RakeshHebbar
Copy link

RakeshHebbar commented Jul 28, 2020

Elasticsearch version: 7.7.1
Kibana version: 7.7.1
Stagemonitor version: 0.89.1

2020-07-28 22:12:18,865 WARN [org.stagemonitor.core.elasticsearch.ElasticsearchClient] (elasticsearch-tasks) http://localhost:9200/.kibana/doc/index-pattern:stagemonitor-metrics-: java.io.FileNotFoundException: http://localhost:9200/.kibana/doc/index-pattern:stagemonitor-metrics-
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1909)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)
at deployment.uix-server.war//org.stagemonitor.core.util.HttpClient.send(HttpClient.java:77)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient.getJson(ElasticsearchClient.java:114)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient.getJson(ElasticsearchClient.java:110)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient.fetchCurrentKibanaIndexPatternConfiguration(ElasticsearchClient.java:206)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient.updateKibanaIndexPattern(ElasticsearchClient.java:191)
at deployment.uix-server.war//org.stagemonitor.core.CoreElasticsearchInitializer.manageMetricsIndex(CoreElasticsearchInitializer.java:63)
at deployment.uix-server.war//org.stagemonitor.core.CoreElasticsearchInitializer.onElasticsearchFirstAvailable(CoreElasticsearchInitializer.java:31)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.AbstractElasticsearchInitializer.onElasticsearchAvailable(AbstractElasticsearchInitializer.java:17)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient$CheckEsAvailability$2.handleResponse(ElasticsearchClient.java:597)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient$CheckEsAvailability$2.handleResponse(ElasticsearchClient.java:573)
at deployment.uix-server.war//org.stagemonitor.core.util.http.HttpRequestBuilder$5.handleResponse(HttpRequestBuilder.java:161)
at deployment.uix-server.war//org.stagemonitor.core.util.HttpClient.send(HttpClient.java:79)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient$CheckEsAvailability.run(ElasticsearchClient.java:571)
at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
at java.base/java.util.TimerThread.run(Timer.java:506)

2020-07-28 22:12:18,881 WARN [org.stagemonitor.core.util.http.ErrorLoggingResponseHandler] (elasticsearch-tasks) http://localhost:9200/.kibana/doc/index-pattern:stagemonitor-metrics-: 400 {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]"},"status":400}
2020-07-28 22:12:18,886 WARN [org.stagemonitor.core.util.http.ErrorLoggingResponseHandler] (elasticsearch-tasks) http://localhost:9200/_template/stagemonitor-metrics: 400 {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [metrics : {_source={enabled=false}, dynamic_templates=[{strings={mapping={type=keyword}, match_mapping_type=string, match=
}}], properties={mean_rate={index=false, type=float}, std={index=false, type=float}, max={index=false, type=float}, count={index=false, type=integer}, p50={index=false, type=float}, p95={index=false, type=float}, p98={index=false, type=float}, m1_rate={index=false, type=float}, p75={index=false, type=float}, p99={index=false, type=float}, value_boolean={index=false, type=boolean}, p25={index=false, type=float}, @timestamp={format=epoch_millis, type=date}, min={index=false, type=float}, median={index=false, type=float}, value_string={index=false, type=keyword}, p999={index=false, type=float}, m15_rate={index=false, type=float}, value={index=false, type=float}, m5_rate={index=false, type=float}}}]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [metrics : {_source={enabled=false}, dynamic_templates=[{strings={mapping={type=keyword}, match_mapping_type=string, match=}}], properties={mean_rate={index=false, type=float}, std={index=false, type=float}, max={index=false, type=float}, count={index=false, type=integer}, p50={index=false, type=float}, p95={index=false, type=float}, p98={index=false, type=float}, m1_rate={index=false, type=float}, p75={index=false, type=float}, p99={index=false, type=float}, value_boolean={index=false, type=boolean}, p25={index=false, type=float}, @timestamp={format=epoch_millis, type=date}, min={index=false, type=float}, median={index=false, type=float}, value_string={index=false, type=keyword}, p999={index=false, type=float}, m15_rate={index=false, type=float}, value={index=false, type=float}, m5_rate={index=false, type=float}}}]","caused_by":{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [metrics : {_source={enabled=false}, dynamic_templates=[{strings={mapping={type=keyword}, match_mapping_type=string, match=}}], properties={mean_rate={index=false, type=float}, std={index=false, type=float}, max={index=false, type=float}, count={index=false, type=integer}, p50={index=false, type=float}, p95={index=false, type=float}, p98={index=false, type=float}, m1_rate={index=false, type=float}, p75={index=false, type=float}, p99={index=false, type=float}, value_boolean={index=false, type=boolean}, p25={index=false, type=float}, @timestamp={format=epoch_millis, type=date}, min={index=false, type=float}, median={index=false, type=float}, value_string={index=false, type=keyword}, p999={index=false, type=float}, m15_rate={index=false, type=float}, value={index=false, type=float}, m5_rate={index=false, type=float}}}]"}},"status":400}
2020-07-28 22:12:18,896 WARN [org.stagemonitor.core.util.http.ErrorLoggingResponseHandler] (elasticsearch-tasks) http://localhost:9200/_template/stagemonitor-spans: 400 {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [spans : {_source={excludes=[call_tree_json]}, dynamic_templates=[{string_fields={mapping={ignore_above=256, type=keyword}, match_mapping_type=string, match=}}], properties={exception={type=object, properties={stack_trace={index=false, store=true, type=keyword, doc_values=false}, message={type=keyword}, class={type=keyword}}}, call_tree_ascii={index=false, type=keyword, doc_values=false}, @timestamp={type=date}, call_tree_json={index=false, store=true, type=keyword, doc_values=false}, peer.ip={type=ip}, name={analyzer=standard, type=text, fields={raw={type=keyword}}}, http={type=object, properties={url={analyzer=standard, type=text, fields={raw={type=keyword}}}}}, params={type=object, properties={value={type=keyword}, key={type=keyword}}}}}]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [spans : {_source={excludes=[call_tree_json]}, dynamic_templates=[{string_fields={mapping={ignore_above=256, type=keyword}, match_mapping_type=string, match=}}], properties={exception={type=object, properties={stack_trace={index=false, store=true, type=keyword, doc_values=false}, message={type=keyword}, class={type=keyword}}}, call_tree_ascii={index=false, type=keyword, doc_values=false}, @timestamp={type=date}, call_tree_json={index=false, store=true, type=keyword, doc_values=false}, peer.ip={type=ip}, name={analyzer=standard, type=text, fields={raw={type=keyword}}}, http={type=object, properties={url={analyzer=standard, type=text, fields={raw={type=keyword}}}}}, params={type=object, properties={value={type=keyword}, key={type=keyword}}}}}]","caused_by":{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [spans : {_source={excludes=[call_tree_json]}, dynamic_templates=[{string_fields={mapping={ignore_above=256, type=keyword}, match_mapping_type=string, match=}}], properties={exception={type=object, properties={stack_trace={index=false, store=true, type=keyword, doc_values=false}, message={type=keyword}, class={type=keyword}}}, call_tree_ascii={index=false, type=keyword, doc_values=false}, @timestamp={type=date}, call_tree_json={index=false, store=true, type=keyword, doc_values=false}, peer.ip={type=ip}, name={analyzer=standard, type=text, fields={raw={type=keyword}}}, http={type=object, properties={url={analyzer=standard, type=text, fields={raw={type=keyword}}}}}, params={type=object, properties={value={type=keyword}, key={type=keyword}}}}}]"}},"status":400}
2020-07-28 22:12:18,903 WARN [org.stagemonitor.core.elasticsearch.ElasticsearchClient] (elasticsearch-tasks) http://localhost:9200/.kibana/doc/index-pattern:stagemonitor-spans-
: java.io.FileNotFoundException: http://localhost:9200/.kibana/doc/index-pattern:stagemonitor-spans-*
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1909)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)
at deployment.uix-server.war//org.stagemonitor.core.util.HttpClient.send(HttpClient.java:77)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient.getJson(ElasticsearchClient.java:114)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient.getJson(ElasticsearchClient.java:110)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient.fetchCurrentKibanaIndexPatternConfiguration(ElasticsearchClient.java:206)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient.updateKibanaIndexPattern(ElasticsearchClient.java:191)
at deployment.uix-server.war//org.stagemonitor.tracing.elasticsearch.TracingElasticsearchInitializer.onElasticsearchFirstAvailable(TracingElasticsearchInitializer.java:23)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.AbstractElasticsearchInitializer.onElasticsearchAvailable(AbstractElasticsearchInitializer.java:17)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient$CheckEsAvailability$2.handleResponse(ElasticsearchClient.java:597)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient$CheckEsAvailability$2.handleResponse(ElasticsearchClient.java:573)
at deployment.uix-server.war//org.stagemonitor.core.util.http.HttpRequestBuilder$5.handleResponse(HttpRequestBuilder.java:161)
at deployment.uix-server.war//org.stagemonitor.core.util.HttpClient.send(HttpClient.java:79)
at deployment.uix-server.war//org.stagemonitor.core.elasticsearch.ElasticsearchClient$CheckEsAvailability.run(ElasticsearchClient.java:571)
at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
at java.base/java.util.TimerThread.run(Timer.java:506)

2020-07-28 22:12:18,918 WARN [org.stagemonitor.core.util.http.ErrorLoggingResponseHandler] (elasticsearch-tasks) http://localhost:9200/.kibana/doc/index-pattern:stagemonitor-spans-*: 400 {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]"},"status":400}
2020-07-28 22:12:19,133 WARN [org.stagemonitor.core.elasticsearch.ElasticsearchClient$BulkErrorReportingResponseHandler] (async-elasticsearch) Error(s) while sending a _bulk request to elasticsearch:

  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
    2020-07-28 22:12:19,339 WARN [org.stagemonitor.core.elasticsearch.ElasticsearchClient$BulkErrorReportingResponseHandler] (async-elasticsearch) Error(s) while sending a _bulk request to elasticsearch:
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
    2020-07-28 22:12:19,544 WARN [org.stagemonitor.core.elasticsearch.ElasticsearchClient$BulkErrorReportingResponseHandler] (async-elasticsearch) Error(s) while sending a _bulk request to elasticsearch:
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
    2020-07-28 22:12:19,648 WARN [org.stagemonitor.core.elasticsearch.ElasticsearchClient$BulkErrorReportingResponseHandler] (async-elasticsearch) Error(s) while sending a _bulk request to elasticsearch:
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
    2020-07-28 22:12:19,849 WARN [org.stagemonitor.core.elasticsearch.ElasticsearchClient$BulkErrorReportingResponseHandler] (async-elasticsearch) Error(s) while sending a _bulk request to elasticsearch:
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
  • Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [_doc, doc]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant