I am able to get the data in Elasticsearch, but the JSON-Format from the webservice puts the status (on, off, error, etc.) in an array for each compressor under modules.
I think i need to explain my problem more detailed.
The JSON-Interface of the website (see link above) puts the Informations of each compressor under http.airleader.mm.modules in an array of objects.
"M" = compressor is on
"E" = compressor is on error
I am not able to modify this interface.
So i dont have the Nested Datatypes and Elasticsearch isn't able to query through an array of objects.
Example:
Because its not a nested datatype i get wrong results for the query.
To solve the problem i was looking at the option of pre-processing of documents using ingest-node. But i dont know how to handle arrays of object in painless
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.