{"id":15732379,"url":"https://github.com/stopsopa/kibana-research","last_synced_at":"2025-10-25T06:20:40.097Z","repository":{"id":84269228,"uuid":"373780131","full_name":"stopsopa/kibana-research","owner":"stopsopa","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-30T21:31:05.000Z","size":50947,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T03:41:49.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/stopsopa.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-04T08:53:02.000Z","updated_at":"2021-09-30T21:31:09.000Z","dependencies_parsed_at":"2023-05-24T05:00:40.241Z","dependency_job_id":null,"html_url":"https://github.com/stopsopa/kibana-research","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stopsopa/kibana-research","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Fkibana-research","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Fkibana-research/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Fkibana-research/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Fkibana-research/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stopsopa","download_url":"https://codeload.github.com/stopsopa/kibana-research/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Fkibana-research/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272852277,"owners_count":25004052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"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-04T00:09:07.884Z","updated_at":"2025-10-25T06:20:40.044Z","avatar_url":"https://github.com/stopsopa.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Udemy course\nhttps://www.udemy.com/course/data-visualization-with-kibana/\n\ng(udemy Data Visualization with Kibana)\n\n# Requirements\nIt looks like elasticsearch is quite memory hungry so for purpose of running local instance with 3 nodes I had to increase memory limit in Docker (on MAC) to 8GB\n![fields](_doc/8gb.png)\n\n... obviously also restart local docker instance\n\n# Installation\n- pull the repository, enter the main directory\n- comment out `kibana` container in `docker/docker-compose.yml`\n- run `make doc` (to run docker containers)\n- WARNING: at this point give the cluster some time to properly spin up before continuing  \n- then execute in bash command line:\n\n```bash\ncurl http://localhost:3368/_cat/indices\ncurl http://localhost:3368/_cat/templates\n\ncurl -XPUT -H \"Content-Type: application/json\" http://localhost:3368/_snapshot/my_backup?pretty -d '\n{\n  \"type\": \"fs\",\n  \"settings\": {\n    \"location\": \"/usr/share/elasticsearch/backup/my_backup\"\n  }\n}\n'\n\ncurl -XPOST -H \"Content-Type: application/json\" http://localhost:3368/_snapshot/my_backup/backup_of_all/_restore?pretty -d '\n{\n  \"indices\": \"*\",\n  \"ignore_unavailable\": true,\n  \"include_global_state\": true\n}\n'\n\ncurl http://localhost:3368/_cat/indices\ncurl http://localhost:3368/_cat/templates\n```\n\n- then run `make docs` (to stop containers)\n- uncomment \"kibana\" container in `docker/docker-compose.yml`\n- run `make doc` (to relaunch containers formation, but this time with kibana container)\n- then visit `http://0.0.0.0:3369` - also give the kibana some time to spin up because it will not work immediately, just wait...\n\n## Tip\nif anything goes wrong just stop containers `make docs` then remove entire directory `docker/es` and repeat installation process again step by step\n\n# Manual queries to execute in kibana\n\n\n```\nGET _search\n{\n  \"query\": {\n    \"match_all\": {}\n  }\n}\nGET /_cat/indices\nGET /_cat/templates\n# index pattern\nGET /orders*/_search\n\n# to create snapshot repository\nPUT /_snapshot/my_backup\n{\n  \"type\": \"fs\",\n  \"settings\": {\n    \"location\": \"/usr/share/elasticsearch/backup/my_backup\"\n  }\n}\nGET /_snapshot/my_backup\nGET /_snapshot\nGET /_snapshot/_all\n\n# to create snapshot named 'backup_of_all' run\nPUT /_snapshot/my_backup/backup_of_all?wait_for_completion=true\n\nPOST /_snapshot/my_backup/backup_of_all/_restore\n{\n  \"indices\": \"*\",\n  \"ignore_unavailable\": true,\n  \"include_global_state\": true\n}\n```\n\n#KQL\nhttps://www.elastic.co/guide/en/kibana/7.13/kuery-query.html\n![fields](_doc/pywABxs.png)\n\n# backup \u0026 restore\nhttps://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html#:~:text=The%20only%20reliable%20and%20supported,from%20a%20filesystem%2Dlevel%20backup.\ng(Snapshot and restore)\n\n# other topics\n\ntime series data\nhttps://www.elastic.co/blog/elasticsearch-as-a-time-series-data-store\ng(Elasticsearch as a Time Series Data Store)\n\nindex pattern\naccess-logs*\n\nmetricbeat\nhttps://www.elastic.co/beats/metricbeat\n\n# shering objects between spaces\nhttps://github.com/elastic/kibana/issues/27004\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstopsopa%2Fkibana-research","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstopsopa%2Fkibana-research","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstopsopa%2Fkibana-research/lists"}