I've been through the API documentation and the elasticsearch source code.
I'm looking to create a service that when given a list of (URL path, JSON
path, metric type) will take the value found at the JSON path from the JSON
returned from the URL in my cluster and put it into our metrics system.
I'm trying to find something really simple in the Java space that will give
me a JSON object of some variety or a response object I can call
.toXContent on when I pass it the URL.
Not sure if I'm explaining this well, but something like:
Request request = new SimpleRequest(url);
Response response = client.get(request).actionGet();
XContentBuilder responseContent = XContentFactory.jsonBuilder();
If I need to build it myself that's ok. I'd just like to know it's not
built and maybe have a pointer or two.
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0b62a618-8812-450b-9160-e2763c02ee0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.