Just set things up. I have elastic 5.4 as my back end. I have successfully added several million records to Elastic. I can view those record just fine in Kibana (including generating a map display).
However, with the geoserver plugin (I am running 2.12.2 geoserver, and using the prebuilt binary plugin) I can not seem to access the data. When I do a compute from bounds the values come back a 0, 0, -1, -1. In the field configuration all the fields come back correctly and show the correct type. I only have a single geometry field and it selected as default.
I can save just fine and publish the layer. However, when I go to layer preview everything except the elastic generated fields (_type, etc.) and fid come back null. See the json below.
Same thing happens if I select long or short names, and whether I select 1 or all of the fields.
Any thoughts on how I can debug this issue. I turned on DEVELOPER and VERBOSE logging in geoserver but nothing interesting shows up in the long.
{"type":"FeatureCollection","totalFeatures":10000,"features":[{"type":"Feature","id":"recordset.1b8562dd-ae72-4d8f-928b-b8672b5a12b2","geometry":null,"geometry_name":"actiongeolocation","properties":{"_id":"1b8562dd-ae72-4d8f-928b-b8672b5a12b2","_index":"coalesce-oeevent","_type":"recordset","_score":null,"name":null,"objectkey":null,"source":null,"actiongeofullname":null,"actiongeotype":null,"avgtone":null}},{"type":"Feature","id":"recordset.2151ee58-cd8e-4965-915e-75f13207b4e7","geometry":null,"geometry_name":"actiongeolocation","properties":{"_id":"2151ee58-cd8e-4965-915e-75f13207b4e7","_index":"coalesce-oeevent","_type":"recordset","_score":null,"name":null,"objectkey":null,"source":null,"actiongeofullname":null,"actiongeotype":null,"avgtone":null}},{"type":"Feature","id":"recordset.8196d69d-a942-4fbc-be24-47799786feef","geometry":null,"geometry_name":"actiongeolocation","properties":{"_id":"8196d69d-a942-4fbc-be24-47799786feef","_index":"coalesce-oeevent","_type":"recordset","_score":null,"name":null,"objectkey":null,"source":null,"actiongeofullname":null,"actiongeotype":null,"avgtone":null}},{"type":"Feature","id":"recordset.535d770d-da9a-465a-82a2-cb242b63cf31","geometry":null,"geometry_name":"actiongeolocation","properties":{"_id":"535d770d-da9a-465a-82a2-cb242b63cf31","_index":"coalesce-oeevent","_type":"recordset","_score":null,"name":null,"objectkey":null,"source":null,"actiongeofullname":null,"actiongeotype":null,"avgtone":null}},{"type":"Feature","id":"recordset.17c399c4-53f5-418d-82ac-69609c185086","geometry":null,"geometry_name":"actiongeolocation","properties":{"_id":"17c399c4-53f5-418d-82ac-69609c185086","_index":"coalesce-oeevent","_type":"recordset","_score":null,"name":null,"objectkey":null,"source":null,"actiongeofullname":null,"actiongeotype":null,"avgtone":null}},{"type":"Feature","id":"recordset.7c4e5c1e-8a8d-4f40-87a9-bee01e4ed43d","geometry":null,"geometry_name":"actiongeolocation","properties":{"_id":"7c4e5c1e-8a8d-4f40-87a9-bee01e4ed43d","_index":"coalesce-oeevent","_type":"recordset","_score":null,"name":null,"objectkey":null,"source":null,"actiongeofullname":null,"actiongeotype":null,"avgtone":null}}