Skip to content

tallakh/VinmonopoletElastic

 
 

Repository files navigation

VinmonopoletElastic

Index product data from Systembolaget to Elasticsearch

Elasticsearch/Kibana Systembolaget demo

This project contains scripts and tools for Systembolaget demo.

Prerequisites

Java 8 installed

Download and unzip latest version of Elasticsearch and Kibana and Logstash

Unzip to your preferered directory. (for instance "c:\elastic")

Run Elasticsearch and Kibana

From the unzipped directories, run the following commands. (alternatively double click on elasticsearch.bat/kibana.bat)

  • /elasticsearch-5.3.1/bin/elasticsearch
  • /kibana-5.3.1/bin/kibana

Go to http://localhost:9200 and http://localhost:5601 in your browser to ensure you get a response.

Index data from Systembolaget

Open cmd, bash, powershell or similar and change directory to the checked out source. Now, run logstash to feed data into elastic . (Adjust path to logstash to where you unzipped it)

  • C:\elastic\logstash-5.3.1\bin\logstash.bat -f .\systembolagetCsvFileLogstash.conf.txt

Verify that you have data by opening http://localhost:9200/systembolaget/_search (Should be 18897-ish total documents)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 41.4%
  • PowerShell 30.8%
  • Python 27.8%