Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.45 KB

readme.md

File metadata and controls

32 lines (24 loc) · 1.45 KB

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)