Skip to content

drizham/tweetSentiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

This Project Tries to Document Getting Started with Elasticserch and Kibana on OSX

It's easier to manage and configure these apps with a custom installation as opposed to using homebrew.

Download these to a drectory called 'apps' where you can keep all unmanaged applications.

Unzip the downloaded files (this will be the home folders of the respective apps)

Starting a local node of Elasticsearch

Issue this command from elasticsearch root folder in terminal: ./bin/elasticsearch f Issue this command from terminal to shutdown elasticsearch:

curl -XPOST 'http://localhost:9200/_cluster/nodes/_local/_shutdown'

Starting and Quiting Kibana

Issue this command from the kibana home folder: ./kibana-4.5.0-darwin-x64/bin/kibana

Kibana resides on localhost:5601 (open it in your favourite browser)

Shutting down Kibana Issue ctrl + c in the terminal it was launched in.

NOTE: The start up command for Kibana depends on the version of Kibana downloaded.

Monitoring Elasticsearch with Kopf

Kopf is a free alternative to Marvel. In order to help with the monitoring of Elasticsearch

With this command from within Elasticsearch's home folder: ./bin/plugin install lmenezes/elasticsearch-kopf/{2.0/v2.1.1} open http://localhost:9200/_plugin/kopf

Timelion
  • Install Timelion from within Kibana with: ./apps/kibana-4.5.0-darwin-x64/bin/kibana plugin -i kibana/timelion

NOTES: Elastic search indices must only have lower case names.

Useful Links

Kibana
Logstash
Elasticsearch Useful Commands
Cluster Health

curl -GET 'http://localhost:9200/_cluster/health'

Add an Index

create and index called blogs curl -XPUT 'http://localhost:9200/blogs/'

Delete Indices

curl -XDELETE 'http://localhost:9200/logstash*/' The example above deletes the logstash with the wild card *

Notes

_type = object _id = unique identifier

About

Stream and Index Tweets to Elasticsearch with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages