package
Version:
v0.10.3
Opens a new window with list of versions in this module.
Published: Apr 8, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
elastic search
Usage
source:
name: elasticsearch
config:
host: elastic_server
Key |
Value |
Example |
Description |
|
host |
string |
http://localhost:9200 |
Host of the Elastic server |
required |
user |
string |
admin |
User ID to access the server |
optional |
password |
string |
1234 |
Password for the Server |
optional |
Outputs
Field |
Sample Value |
resource.urn |
elasticsearch.index1 |
resource.name |
index1 |
profile.total_rows |
1 |
schema |
[]Column |
Column
Field |
Sample Value |
name |
SomeStr |
data_type |
text |
Contributing
Refer to the contribution guidelines for information on contributing to this module.
Documentation
¶
type Config struct {
User string `mapstructure:"user"`
Password string `mapstructure:"password"`
Host string `mapstructure:"host" validate:"required"`
}
type Extractor struct {
}
Extractor manages the extraction of data from elastic
New returns a pointer to an initialized Extractor Object
Extract extracts the data from the elastic server
and collected through the emitter
Init initializes the extractor
Source Files
¶
Click to show internal directories.
Click to hide internal directories.