I rolled my own. On Thursday, June 12, 2014 5:23:00 PM UTC-6, smonasco wrote: > > 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(); > response.toXContent(responseContent, null); > > 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. > > --Shannon Monasco >
-- 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8dcd8d74-453d-4578-9f1b-1250ceaa7594%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.