Skip to content

Parses XLS/XLSX files and imports into ElasticSearch through a web interface.

License

Notifications You must be signed in to change notification settings

nilportugues/parser-excel-elasticsearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parser-excel-elasticsearch Build Status

Parses XLSX files into ElasticSearch using column titles from specified row combined with data in columns on each row. For use with Kibana or other visualization applications, example result using a transaction log in excel format image. The application comes with a web interface to simplify uploading.

Prerequisites

The application requires ElasticSearch as its output.

  1. ElasticSearch (version 5+) should not require any additional configuration or installation, just download and run from Elastic.

  2. Download the latest release of excelastic-1.2.0.jar and the configuration.json (optional) file from GitHub releases.

Running

Running the application, filename and index is optional to import using terminal mode.

java -jar excelastic-1.2.0.jar <filename> <index>

When the application successfully connects to the ElasticSearch server, the browser will automatically open a new tab.

If any connection errors occur check that the ElasticSearch listen port matches with the elastic_port in the configuration file. Make sure that ElasticSearch is running by directing your browser at localhost:9200.

Compiling a new fatjar and run tests,

mvn clean package

Configuration

├── configuration.json

web_port (8080) port that the webserver will listen on.

elastic_port (9200) port that ElasticSearch listens to, host is set to localhost.

elastic_host (localhost) address of the ElasticSearch server.

If no configuration file is present a new configuration file will be created using the default values listed here.

About

Parses XLS/XLSX files and imports into ElasticSearch through a web interface.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 85.8%
  • HTML 10.0%
  • JavaScript 3.5%
  • CSS 0.7%