Hello,
I am trying to work with Laravel 5.4 and ElasticSearch / Kibana (last versions).
The search with Laravel and ElasticSearch is working well but for Kibana I have this error :
"Saved "field" parameter is now invalid. Please select a new field."
Here are my data from dev tools :
{
"took": 1,
"timed_out": false,
"_shards": {
"total": 6,
"successful": 6,
"failed": 0
},
"hits": {
"total": 3,
"max_score": 1,
"hits": [
{
"_index": ".kibana",
"_type": "index-pattern",
"_id": "laravel*",
"_score": 1,
"_source": {
"title": "laravel*",
"timeFieldName": "_timestamp",
"fields": """[{"name":"updated_at.keyword","type":"string","count":0,"scripted":false,"indexed":true,"analyzed":false,"doc_values":true,"searchable":true,"aggregatable":true},{"name":"created_at","type":"string","count":0,"scripted":false,"indexed":true,"analyzed":true,"doc_values":false,"searchable":true,"aggregatable":false},{"name":"name.keyword","type":"string","count":0,"scripted":false,"indexed":true,"analyzed":false,"doc_values":true,"searchable":true,"aggregatable":true},{"name":"created_at.keyword","type":"string","count":0,"scripted":false,"indexed":true,"analyzed":false,"doc_values":true,"searchable":true,"aggregatable":true},{"name":"updated_at","type":"string","count":0,"scripted":false,"indexed":true,"analyzed":true,"doc_values":false,"searchable":true,"aggregatable":false},{"name":"name","type":"string","count":0,"scripted":false,"indexed":true,"analyzed":true,"doc_values":false,"searchable":true,"aggregatable":false},{"name":"id","type":"number","count":0,"scripted":false,"indexed":true,"analyzed":false,"doc_values":true,"searchable":true,"aggregatable":true},{"name":"_timestamp","type":"date","count":0,"scripted":false,"indexed":true,"analyzed":false,"doc_values":false,"searchable":false,"aggregatable":false},{"name":"_id","type":"string","count":0,"scripted":false,"indexed":false,"analyzed":false,"doc_values":false,"searchable":false,"aggregatable":false},{"name":"_type","type":"string","count":0,"scripted":false,"indexed":false,"analyzed":false,"doc_values":false,"searchable":true,"aggregatable":true},{"name":"_index","type":"string","count":0,"scripted":false,"indexed":false,"analyzed":false,"doc_values":false,"searchable":false,"aggregatable":false},{"name":"_score","type":"number","count":0,"scripted":false,"indexed":false,"analyzed":false,"doc_values":false,"searchable":false,"aggregatable":false}]"""
}
},
{
"_index": ".kibana",
"_type": "config",
"_id": "5.2.0",
"_score": 1,
"_source": {
"buildNum": 14695,
"metaFields": [
"_id",
"_type",
"_index",
"_score",
"_timestamp"
],
"defaultIndex": "laravel*",
"discover:aggs:terms:size": 20,
"defaultColumns": [
"_id"
],
"format:defaultTypeMap": """
{
"ip": { "id": "ip", "params": {} },
"date": { "id": "date", "params": {} },
"number": { "id": "number", "params": {} },
"boolean": { "id": "boolean", "params": {} },
"default": { "id": "string", "params": {} }
}
"""
}
},
{
"_index": "laravel",
"_type": "posts",
"_id": "2",
"_score": 1,
"_source": {
"id": 2,
"name": "YkDoDoUBn0",
"created_at": "2017-02-11 15:20:50",
"updated_at": "2017-02-11 15:20:50"
}
}
]
}
}