# elasticsearch-informix-tool

> Used to add documents (C,U) to a elasticsearch index from a informix data source.

Latest version **1.0.0** (published 2017-09-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install elasticsearch-informix-tool
pnpm add elasticsearch-informix-tool
yarn add elasticsearch-informix-tool
bun add elasticsearch-informix-tool
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-09-12 |
| First published | 2017-09-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jerum Lee Hubbert |
| Maintainers | mr.ripper |
| Keywords | elasticsearch, nodejs, javascript |

## Links

- npm: https://www.npmjs.com/package/elasticsearch-informix-tool
- Repository: https://github.com/hubbertj/elasticsearch-informix-tool
- Homepage: https://github.com/hubbertj/elasticsearch-informix-tool#readme
- Issues: https://github.com/hubbertj/elasticsearch-informix-tool/issues
- npm.io page: https://npm.io/package/elasticsearch-informix-tool

## Dependencies (5)

- [config](https://npm.io/package/config.md) ^1.26.2
- [commander](https://npm.io/package/commander.md) ^2.11.0
- [thread-sleep](https://npm.io/package/thread-sleep.md) ^2.0.0
- [elasticsearch](https://npm.io/package/elasticsearch.md) ^13.3.1
- [properties-reader](https://npm.io/package/properties-reader.md) 0.0.15

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-09-12

## README

# Elasticsearch-informix-tool
Creates, updates a elasticsearch index.
Process:
	Pulls all records from the informix data defined in your properties file.
	Depending on your arguments, it will either create or update a index.
	Pulls from the output/FilterDataList.json and makes the correct rest call to the elk server.

## Installation
install node & npm

$> npm install  
$> node elasticsearchTool  

	$> elasticsearch-informix-tool --help
	Usage: elasticsearchTool [options] <file>

  Options:

  -f, &ensp; --force &ensp; *indexName* &ensp; Use if you want to specify the index. And want to skip the data gather process.  
  -c, &ensp; --create &ensp; *indexName* &ensp; When used this will create a new index and insert the new documents  
  -u, &ensp; --update &ensp; *indexName* &ensp; When used this will try to update the index and insert the new documents.  
  -h, &ensp; --help &ensp; output usage information  


## How to use the elasticsearch-informix-tool
    
    $> node elasticsearch-informix-tool -c searchable  

This will pull json from the informix database, then create a index called `searchable`  
Then inject documents from the json file into your new index `searchable`.
  
## Notes
All configuration are located in the config/application.properties file
When the applicaiton runs the _data_ingress.jar it creates a output folder with FilterDataList.json and RawDataList.json
RawDataList.json is before the merge is applied.

If you have a issue with herp size you make need to run node like this  

    $> node --max-old-space-size=4096 elasticsearch-informix-tool --create `indexName`

---
_Source: https://npm.io/package/elasticsearch-informix-tool · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
