{"id":15589954,"url":"https://github.com/shimizukawa/fig-practices","last_synced_at":"2026-04-12T03:38:50.404Z","repository":{"id":26757224,"uuid":"30215087","full_name":"shimizukawa/fig-practices","owner":"shimizukawa","description":"fig practices","archived":false,"fork":false,"pushed_at":"2015-02-07T14:24:28.000Z","size":173,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"fig-app-nginx-fluentd-es-kibana4","last_synced_at":"2025-08-27T08:43:52.571Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shimizukawa.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-02T23:46:13.000Z","updated_at":"2019-08-13T16:02:05.000Z","dependencies_parsed_at":"2022-09-01T21:11:28.249Z","dependency_job_id":null,"html_url":"https://github.com/shimizukawa/fig-practices","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shimizukawa/fig-practices","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimizukawa%2Ffig-practices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimizukawa%2Ffig-practices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimizukawa%2Ffig-practices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimizukawa%2Ffig-practices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shimizukawa","download_url":"https://codeload.github.com/shimizukawa/fig-practices/tar.gz/refs/heads/fig-app-nginx-fluentd-es-kibana4","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimizukawa%2Ffig-practices/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31703501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T23:14:47.992Z","updated_at":"2026-04-12T03:38:50.389Z","avatar_url":"https://github.com/shimizukawa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"================================================================================\nfig practice: Python FlaskApp + Nginx + Fluentd + ElasticSearch + Kibana4 Beta3\n================================================================================\n\nBootstrap\n==========\n\n1. install vagrant + virtualbox.\n2. execute::\n\n      local $ vagrant up     # provisioner make docker environment\n      local $ vagrant ssh\n      ubuntu $ sudo su\n      ubuntu # cd /vagrant\n      ubuntu # fig up\n\n3. browse to:\n\n   - http://192.168.10.10/ to see FlaskApp view\n   - http://192.168.10.10:5601/ to see Kibana4 view\n\n\nUsed containers\n===============\n\n- `python:2.7`_:\n   to execute FlaskApp\n\n- `redis:2`_:\n   KeyValue storage for FlaskApp\n\n- `nginx:latest`_:\n   Web frontend for FlaskApp and Kibana4\n\n- `shimizukawa/fluentd:latest`_:\n   simple fluentd to collect nginx log and transfer it to elasticsearch.\n\n- `devdb/kibana:latest`_:\n   Kibana4 beta3 with ElasticSearch\n\n\n.. _python:2.7: https://registry.hub.docker.com/_/python/\n.. _redis:2: https://registry.hub.docker.com/_/redis/\n.. _nginx:latest: https://registry.hub.docker.com/_/nginx/\n.. _shimizukawa/fluentd:latest: https://registry.hub.docker.com/u/shimizukawa/fluentd/\n.. _devdb/kibana:latest: https://registry.hub.docker.com/devdb/kibana\n\n\nContainer Structures\n====================\n\nBrowser access flow::\n\n  Browser\n    |\n    |\n    v\n   Nginx   ----\u003e FlaskApp ---\u003e Redis\n        \\\n         \\\n          \\\n           ------------------\\\n                              \\\n                               \\\n   fluentd                        kibana4\n                               elasticsearch\n\n\nLog data flow::\n\n   Nginx         FlaskApp      Redis\n     |\n     |access.log\n     |\n     |\n     v (fluentd-elasticsearch-plugin)\n   fluentd  -------------------------\u003e elasticsearch\n                                         kibana4\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimizukawa%2Ffig-practices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshimizukawa%2Ffig-practices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimizukawa%2Ffig-practices/lists"}