elasticsearch.v7

command
v0.0.0-...-d79d590 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

README

Elasticsearch plugin

Plugin to query Elasticsearch (https://www.elastic.co/elasticsearch) v7 as a data source.

SQl convertor's base: https://github.com/blastrain/vitess-sqlparser/tree/develop/sqlparser

Compile with:

go build -buildmode=plugin -ldflags="-w" -o elasticsearch.v7.so ./*.go

Access details

Source YAML definition's access fields:

  • url: HTTP access point, for example - http://localhost:9200
  • username: username for the basic auth
  • password: password for the basic auth
  • key: authorization key
  • indices: comma separated indices patterns to query, for example - apps-*
  • ca: CA certificate path

Only username/password or key can be used at once.

Limitations

  • Go package supports specific Elasticsearch major version only, so version number is included in a plugin's name

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL