{"action":"created","issue":{"url":"https://api.github.com/repos/ViaQ/elasticsearch-templates/issues/93","repository_url":"https://api.github.com/repos/ViaQ/elasticsearch-templates","labels_url":"https://api.github.com/repos/ViaQ/elasticsearch-templates/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/ViaQ/elasticsearch-templates/issues/93/comments","events_url":"https://api.github.com/repos/ViaQ/elasticsearch-templates/issues/93/events","html_url":"https://github.com/ViaQ/elasticsearch-templates/pull/93","id":340245647,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNzAyODE3","number":93,"title":"Initial version - foreman namespace/template","user":{"login":"lzap","id":49752,"node_id":"MDQ6VXNlcjQ5NzUy","avatar_url":"https://avatars0.githubusercontent.com/u/49752?v=4","gravatar_id":"","url":"https://api.github.com/users/lzap","html_url":"https://github.com/lzap","followers_url":"https://api.github.com/users/lzap/followers","following_url":"https://api.github.com/users/lzap/following{/other_user}","gists_url":"https://api.github.com/users/lzap/gists{/gist_id}","starred_url":"https://api.github.com/users/lzap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzap/subscriptions","organizations_url":"https://api.github.com/users/lzap/orgs","repos_url":"https://api.github.com/users/lzap/repos","events_url":"https://api.github.com/users/lzap/events{/privacy}","received_events_url":"https://api.github.com/users/lzap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-11T13:37:09Z","updated_at":"2018-07-25T15:04:28Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ViaQ/elasticsearch-templates/pulls/93","html_url":"https://github.com/ViaQ/elasticsearch-templates/pull/93","diff_url":"https://github.com/ViaQ/elasticsearch-templates/pull/93.diff","patch_url":"https://github.com/ViaQ/elasticsearch-templates/pull/93.patch"},"body":"What's up! This is an initial version of foreman namespace. It currently does generate JSON files but foreman.yml is ignored for some reason.\n\n```\n$ cd templates/foreman\n$ make\n$ grep foreman *json\norg.foreman.viaq-cdm.2.4.4.template.json:  \"template\": \"project.foreman-*\"\norg.foreman.viaq-cdm.5.5.2.template.json:  \"template\": \"project.foreman-*\"\n```\n\nSeeking for advice, thanks."},"comment":{"url":"https://api.github.com/repos/ViaQ/elasticsearch-templates/issues/comments/407786961","html_url":"https://github.com/ViaQ/elasticsearch-templates/pull/93#issuecomment-407786961","issue_url":"https://api.github.com/repos/ViaQ/elasticsearch-templates/issues/93","id":407786961,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzc4Njk2MQ==","user":{"login":"richm","id":23066,"node_id":"MDQ6VXNlcjIzMDY2","avatar_url":"https://avatars2.githubusercontent.com/u/23066?v=4","gravatar_id":"","url":"https://api.github.com/users/richm","html_url":"https://github.com/richm","followers_url":"https://api.github.com/users/richm/followers","following_url":"https://api.github.com/users/richm/following{/other_user}","gists_url":"https://api.github.com/users/richm/gists{/gist_id}","starred_url":"https://api.github.com/users/richm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richm/subscriptions","organizations_url":"https://api.github.com/users/richm/orgs","repos_url":"https://api.github.com/users/richm/repos","events_url":"https://api.github.com/users/richm/events{/privacy}","received_events_url":"https://api.github.com/users/richm/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T15:04:28Z","updated_at":"2018-07-25T15:04:28Z","author_association":"MEMBER","body":"> Is there some generic rule on index: true or false?\r\n\r\nYes, specified by the field defaults: https://github.com/ViaQ/elasticsearch-templates/blob/master/namespaces/_default_.yml#L3\r\n```\r\nfield_defaults:\r\n  type: keyword\r\n  doc_values: true\r\n  index: true\r\n```\r\nby default, fields are indexed.\r\n\r\n> Should I look on this as RDBM index? Everytime I want to search or sort entries by given column I want it to be indexed?\r\n\r\nYes, and used in aggregations.  It isn't exactly like an RDBMS index, but close enough.\r\n\r\n> Or is this fulltext index, therefore only relevant for the message?\r\n\r\ntype: keyword isn't used for fulltext index, use type: text for that.  Typically, fields such as unique ids, names of objects (i.e. in kubernetes, pod names and namespace names) will be keywords, because you typically want to do exact match searches on this field.  Typically the \"message\" field is type: text and has a fulltext index because it is usually an unstructured blob and is used for \"fuzzy\" matching searches."}}
{"actor":{"display_login":"richm"}}