Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Load data from ElasticSearch to WarpScript

This WarpScript extension had 4 new functions to WarpScript. A single and multi get and a search and a meta search on an elasticsearch.

Build

Execute the following command

gradle shadowJar

Warp 10 config

Add in warp10.conf: the ExtensionElastic class to warpscript.extensions, and a MAXTIMEOUT before ending a request on elasticsearch.

//
// Comma separated list of WarpScriptExtension classes to instantiate to modify the defined WarpScript functions
//
warpscript.extensions = io.warp10.script.elastic.ExtensionElastic

//
// Add a max timeout properties
// NO_TIMEOUT set to no timeout
warpscript.extension.elastic.maxtimeout = 1000ms

Add the generated jar to your Warp10 platform classpath.

Restart the Warp 10 platform.

About

No description, website, or topics provided.

Resources

Packages

No packages published

Languages