{"action":"created","issue":{"url":"https://api.github.com/repos/floragunncom/search-guard/issues/252","repository_url":"https://api.github.com/repos/floragunncom/search-guard","labels_url":"https://api.github.com/repos/floragunncom/search-guard/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/floragunncom/search-guard/issues/252/comments","events_url":"https://api.github.com/repos/floragunncom/search-guard/issues/252/events","html_url":"https://github.com/floragunncom/search-guard/issues/252","id":195158217,"number":252,"title":"no match kibanaserver* in [IndexType [index=.kibana, type=config]]","user":{"login":"armenak","id":3421052,"avatar_url":"https://avatars.githubusercontent.com/u/3421052?v=3","gravatar_id":"","url":"https://api.github.com/users/armenak","html_url":"https://github.com/armenak","followers_url":"https://api.github.com/users/armenak/followers","following_url":"https://api.github.com/users/armenak/following{/other_user}","gists_url":"https://api.github.com/users/armenak/gists{/gist_id}","starred_url":"https://api.github.com/users/armenak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenak/subscriptions","organizations_url":"https://api.github.com/users/armenak/orgs","repos_url":"https://api.github.com/users/armenak/repos","events_url":"https://api.github.com/users/armenak/events{/privacy}","received_events_url":"https://api.github.com/users/armenak/received_events","type":"User","site_admin":false},"labels":[{"id":504362800,"url":"https://api.github.com/repos/floragunncom/search-guard/labels/in%20progress","name":"in progress","color":"f9d0c4","default":false},{"id":221922229,"url":"https://api.github.com/repos/floragunncom/search-guard/labels/wait%20for%20user%20feedback","name":"wait for user feedback","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-12-13T04:27:41Z","updated_at":"2016-12-27T06:08:01Z","closed_at":null,"body":"Hello,\r\n\r\nI've installed ElasticSearch 5.0.2, Kibana 5.0.2, and SearchGuard 5:5.0.2-8.\r\nLogStash is able to push the data to ElasticSearch.\r\n\r\nWhen I try to access ElasticSearch using Kibana I am getting \"{\"statusCode\":500,\"error\":\"Internal Server Error\",\"message\":\"An internal server error occurred\"}\" error.\r\n\r\nLog file and configuration files are attached.\r\n\r\nThanks,\r\nArmenak\r\n[kibana.yml.txt](https://github.com/floragunncom/search-guard/files/648007/kibana.yml.txt)\r\n[elasticsearch.yml.txt](https://github.com/floragunncom/search-guard/files/648008/elasticsearch.yml.txt)\r\n[sg_action_groups.yml.txt](https://github.com/floragunncom/search-guard/files/648009/sg_action_groups.yml.txt)\r\n[sg_config.yml.txt](https://github.com/floragunncom/search-guard/files/648010/sg_config.yml.txt)\r\n[sg_internal_users.yml.txt](https://github.com/floragunncom/search-guard/files/648011/sg_internal_users.yml.txt)\r\n[sg_roles_mapping.yml.txt](https://github.com/floragunncom/search-guard/files/648012/sg_roles_mapping.yml.txt)\r\n[sg_roles.yml.txt](https://github.com/floragunncom/search-guard/files/648013/sg_roles.yml.txt)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/floragunncom/search-guard/issues/comments/269275111","html_url":"https://github.com/floragunncom/search-guard/issues/252#issuecomment-269275111","issue_url":"https://api.github.com/repos/floragunncom/search-guard/issues/252","id":269275111,"user":{"login":"matejzero","id":4689252,"avatar_url":"https://avatars.githubusercontent.com/u/4689252?v=3","gravatar_id":"","url":"https://api.github.com/users/matejzero","html_url":"https://github.com/matejzero","followers_url":"https://api.github.com/users/matejzero/followers","following_url":"https://api.github.com/users/matejzero/following{/other_user}","gists_url":"https://api.github.com/users/matejzero/gists{/gist_id}","starred_url":"https://api.github.com/users/matejzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matejzero/subscriptions","organizations_url":"https://api.github.com/users/matejzero/orgs","repos_url":"https://api.github.com/users/matejzero/repos","events_url":"https://api.github.com/users/matejzero/events{/privacy}","received_events_url":"https://api.github.com/users/matejzero/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T06:08:01Z","updated_at":"2016-12-27T06:08:01Z","body":"Sure:) I'll post an example for one of the SG default users.\r\n\r\nsg_config.yml\r\n```yaml\r\nsearchguard:\r\n  dynamic:\r\n    authc:\r\n      basic_internal_auth_domain:\r\n        enabled: true\r\n        order: 1\r\n        http_authenticator:\r\n          type: basic\r\n          challenge: true\r\n        authentication_backend:\r\n          type: internal\r\n```\r\n\r\nsg_internal_users.yml\r\n```yaml\r\nreadall:\r\n  hash: $2a$12$ae4ycwzwvLtZxwZ82RmiEunBbIPiAmGZduBAjKN0TXdwQFtCwARz2\r\n```\r\n\r\nsg_roles_mapping.yml\r\n```yaml\r\nsg_all_access:\r\n  users:\r\n    - readall\r\n```\r\n\r\nsg_roles.yml\r\n```yaml\r\nsg_all_access:\r\n  cluster:\r\n    - '*'\r\n  indices:\r\n    '*':\r\n      '*':\r\n        - '*'\r\n```\r\n\r\nAfter this is setup, run sgadmin.sh to apply changes and then first try to login directly to ES, just so we are sure SG is working as it should: `curl -u username:password http://es-node-hostname:9200/`.  You can also check if the user gets the right role: `curl -u username:password http://es-node-hostname:9200/_searchguard/api/user/` if you have the management REST API module installed.\r\n\r\nIf that is successful, move to Kibana. Go to Kibana's URL, without `/login/` in the end, just hostname and port eg. http://kibana-host.example.org:5601.\r\n"}}
{"actor":{"display_login":"matejzero"}}