Saved "field" parameter is now invalid with Laravel


(Arnaud) #1

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"
}
}
]
}
}


(Tim Sullivan) #2

There are a few other posts that might be related to this:

It looks like the authors of those posts were able to solve their issue. Please see if those help.
Thanks,
-Tim


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.