Closed jfrancarioInera closed 3 years ago
What is the elasticsearch version you have installed?
This one:
"version" : {
"number" : "7.13.4",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "c5f60e894ca0c61cdbae4f5a686d9f08bcefc942",
"build_date" : "2021-07-14T18:33:36.673943207Z",
"build_snapshot" : false,
"lucene_version" : "8.8.2",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
}
It should be fixed now
@jfrancarioInera your config seems to be wrong defining the host
Use:
host: "http://localhost:9200/directus",
@dimitrov-adrian
Hi sorry for bothering you again.
Reinstalled the extension following the new readme, but i get a strange behavior.
Changed the host to http://localhost:9200/directus
but only one collection gets saved in elasticsearch index.
directus-extension-searchsync Cannot update viaggi/1. Error: Request failed with status code 400
directus-extension-searchsync Cannot update viaggi/2. Error: Request failed with status code 400
directus-extension-searchsync Cannot update viaggi/3. Error: Request failed with status code 400
directus-extension-searchsync Cannot update viaggi/4. Error: Request failed with status code 400
directus-extension-searchsync Cannot update viaggi/5. Error: Request failed with status code 400
directus-extension-searchsync Cannot update viaggi/6. Error: Request failed with status code 400
This is what I get if I query elasticsearch:
GET http://localhost:9200/directus/_search
Only the collection 'tappe' gets saved. The collection 'viaggi' has a one to many relationship with 'tappe'. Anyway, it happened the opposite aswell, the 'viaggi' collection got saved, but not 'tappe.
the configuration file is the same except the host.
@jfrancarioInera Did you manage to solve this? I'm facing the same issue with ELK 8.4.2
Getting this error when trying to post the initial collections to elasticsearch.
configfile:
Btw is this extension valid for production purposes?