Need help with Elasticsearch Sink's connectionstring

Topics: Using
Oct 16, 2014 at 3:11 AM
When building my application to use this sink, I have been able to write logs to my elasticsearch when I host the elasticsearch server at the root of a web application (e.g. http://elasticsearch.mycompany.com)

But due to certain constraints from the business, I have to host the elasticsearch server as a virtual directory of an existing application (e.g. http://www.mycompany.com/elasticsearch). When I checked the logs, nothing is written into elasticsearch server, but other sinks like flat file and Azure was still able to capture the logs.

When I monitored the HTTP requests from Fiddler, I realized the requests were made to http://www.mycompany.com/_bulk, instead of http://www.mycompany.com/elasticsearch/_bulk.

the connectionstring I use is "http://www.mycompany.com/elasticsearch/" - I have tried with and without the "/" at the end of the string, but the result are the same.

Is there any workaround I can try to make this work at virtual directory?
Oct 17, 2014 at 3:23 PM
For everyone else here, this has been fixed in the most recent update of the Elasticsearch sink.

Please report any issues on the Elasticsearch sink here:
https://github.com/fullscale180/slab-sinks

-Trent