Skip to content
This repository has been archived by the owner on Dec 8, 2017. It is now read-only.

18F/labor-viz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mac install

brew install logstash
brew install kibana
brew install elasticsearch

Index the data

Download the bulk data here: https://tock.18f.gov/api/timecards_bulk.csv

Modify the logstash.config file to have the absolute path to the csv file in your local environment.

Start elasticsearch

elasticsearch --config=/usr/local/opt/elasticsearch/config/elasticsearch.yml

Create the elasticsearch index

logstash -f `pwd`/logstash.config

You should see all the csv data in the console.

Configure Kibana

Start kibana

kibana

Configure an index pattern in kibana: navigate to http://localhost.com:5601, enter "labor" in the "index name or pattern" box, select "start_time" in the drop down menu.

Kibana Screenshot

Reports

Error Recovery

If you have already done an import with errors in the config you may need to delete the logstash db

rm ~/.sincedb_*

And delete the elasticsearch index

curl -XDELETE 'http://localhost:9200/labor'

About

experiment in visualization of 18F labor data

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published