logstash-plugins / logstash-output-elastic_app_search

Apache License 2.0
0 stars 9 forks source link

Needs changes to support self-managed App Search #4

Closed peterskim12 closed 5 years ago

peterskim12 commented 5 years ago

The Java client provides a separate constructor to define a Client that connects to a self-managed App Search instance: https://github.com/swiftype/swiftype-app-search-java/blob/master/src/main/java/com/swiftype/appsearch/Client.java#L43-L53 Thanks Matias for finding this!

The Logstash output plugin needs more parameters to allow user to specify a connection to a self-managed App Search instance. I'm not a developer anymore so I don't want to suggest the best way to do this. ;) A separate 'base_url' parameter? If so, then 'host' would have to be changed to not be required. Or overloading the 'host' parameter to be used for both SaaS and self-managed, but then have a separate param for user to indicate SaaS or self-managed?