Comments (3)
@rgl I have upgraded and merged into master. Can you test? Do you need some kind of release package for testing? There is still one open issue (#29) where some metadata fields are missing (useful e.g. if you use Logstash in the pipeline).
from prometheusbeat.
2019-08-24T03:42:01.103Z ERROR pipeline/output.go:100 Failed to connect to backoff(elasticsearch(http://172.25.64.222:9200)): Connection marked as failed because the onConnect callback failed: Error loading Elasticsearch template: could not load template. Elasticsearch returned: couldn't load template: couldn't load json. Error: 400 Bad Request: {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [doc : {_meta={version=6.4.1}, dynamic_templates=[{strings_as_keyword={mapping={ignore_above=1024, type=keyword}, match_mapping_type=string}}], date_detection=false, properties={@timestamp={type=date}, name={ignore_above=1024, type=keyword}, value={type=double}}}]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [doc : {_meta={version=6.4.1}, dynamic_templates=[{strings_as_keyword={mapping={ignore_above=1024, type=keyword}, match_mapping_type=string}}], date_detection=false, properties={@timestamp={type=date}, name={ignore_above=1024, type=keyword}, value={type=double}}}]","caused_by":{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [doc : {_meta={version=6.4.1}, dynamic_templates=[{strings_as_keyword={mapping={ignore_above=1024, type=keyword}, match_mapping_type=string}}], date_detection=false, properties={@timestamp={type=date}, name={ignore_above=1024, type=keyword}, value={type=double}}}]"}},"status":400}. Response body: {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [doc : {_meta={version=6.4.1}, dynamic_templates=[{strings_as_keyword={mapping={ignore_above=1024, type=keyword}, match_mapping_type=string}}], date_detection=false, properties={@timestamp={type=date}, name={ignore_above=1024, type=keyword}, value={type=double}}}]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [doc : {_meta={version=6.4.1}, dynamic_templates=[{strings_as_keyword={mapping={ignore_above=1024, type=keyword}, match_mapping_type=string}}], date_detection=false, properties={@timestamp={type=date}, name={ignore_above=1024, type=keyword}, value={type=double}}}]","caused_by":{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [doc : {_meta={version=6.4.1}, dynamic_templates=[{strings_as_keyword={mapping={ignore_above=1024, type=keyword}, match_mapping_type=string}}], date_detection=false, properties={@timestamp={type=date}, name={ignore_above=1024, type=keyword}, value={type=double}}}]"}},"status":400}. Template is: map[order:%!s(int=1) settings:{"index":{"mapping":{"total_fields":{"limit":10000}},"number_of_routing_shards":30,"query":{"default_field":["name","fields."]},"refresh_interval":"5s"}} index_patterns:[prometheusbeat-6.4.1-] mappings:{"doc":{"_meta":{"version":"6.4.1"},"date_detection":false,"dynamic_templates":[{"strings_as_keyword":{"mapping":{"ignore_above":1024,"type":"keyword"},"match_mapping_type":"string"}}],"properties":{"@timestamp":{"type":"date"},"name":{"ignore_above":1024,"type":"keyword"},"value":{"type":"double"}}}}]
from prometheusbeat.
Version 7.3.1 has been released.
from prometheusbeat.
Related Issues (19)
- Get remote write version from header
- windows binary? HOT 4
- Fatal error HOT 6
- connection es refused when prometheus beat run in one or two days. HOT 2
- Failed to encode event: unsupported float value: -Inf HOT 1
- make issue HOT 1
- make setup issue "ERROR: field <@timestamp> is duplicated, remove it or set 'overwrite: true' HOT 5
- Unable to send data to elasticsearch due to error - 'net/http: request canceled' HOT 7
- Missing metric name HOT 4
- accept4: too many open files HOT 3
- Missing metadata fields in v7.x HOT 1
- the data didn't have time HOT 1
- prometheusbeat can not send data to ES HOT 1
- replicasets resource is now in "apps" apigroup HOT 1
- Make error when installing repository HOT 1
- Add vendoring
- Dockerfile HOT 1
- Do you have support for remote_read ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prometheusbeat.