{"action":"created","issue":{"url":"https://api.github.com/repos/SumoLogic/sumologic-collector-docker/issues/32","repository_url":"https://api.github.com/repos/SumoLogic/sumologic-collector-docker","labels_url":"https://api.github.com/repos/SumoLogic/sumologic-collector-docker/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/SumoLogic/sumologic-collector-docker/issues/32/comments","events_url":"https://api.github.com/repos/SumoLogic/sumologic-collector-docker/issues/32/events","html_url":"https://github.com/SumoLogic/sumologic-collector-docker/issues/32","id":189236788,"number":32,"title":"Runtime Env Subsitution","user":{"login":"abecoffman","id":251843,"avatar_url":"https://avatars.githubusercontent.com/u/251843?v=3","gravatar_id":"","url":"https://api.github.com/users/abecoffman","html_url":"https://github.com/abecoffman","followers_url":"https://api.github.com/users/abecoffman/followers","following_url":"https://api.github.com/users/abecoffman/following{/other_user}","gists_url":"https://api.github.com/users/abecoffman/gists{/gist_id}","starred_url":"https://api.github.com/users/abecoffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abecoffman/subscriptions","organizations_url":"https://api.github.com/users/abecoffman/orgs","repos_url":"https://api.github.com/users/abecoffman/repos","events_url":"https://api.github.com/users/abecoffman/events{/privacy}","received_events_url":"https://api.github.com/users/abecoffman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-14T21:52:38Z","updated_at":"2016-11-22T23:45:58Z","closed_at":"2016-11-22T23:45:58Z","body":"Our company is following a best practice you promote which is to `Control Who Sees What Data via RBAC`.\r\nhttps://help.sumologic.com/Send_Data/01_Design_Your_Deployment/Best_Practices%3A_Good_Source_Category%2C_Bad_Source_Category\r\n\r\nWe have opted to put the `environment` (i.e. dev/uat/prod) into the sourceCategory string.  This presents a problem with running the collector in a container because the `sourceCategory` can't be dynamically resolved when the container is run.\r\n\r\nWould you consider doing some sort of environment variable replacement on the source config in your ENTRYPOINT script?  Or perhaps provide another way of dynamically updating source configs when the container is run?  I'd like to be able to do something like this in the `sumo-sources.json`:\r\n\r\n```json\r\n{\r\n    \"category\": \"${environment}/component2/component3\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/SumoLogic/sumologic-collector-docker/issues/comments/262400000","html_url":"https://github.com/SumoLogic/sumologic-collector-docker/issues/32#issuecomment-262400000","issue_url":"https://api.github.com/repos/SumoLogic/sumologic-collector-docker/issues/32","id":262400000,"user":{"login":"abecoffman","id":251843,"avatar_url":"https://avatars.githubusercontent.com/u/251843?v=3","gravatar_id":"","url":"https://api.github.com/users/abecoffman","html_url":"https://github.com/abecoffman","followers_url":"https://api.github.com/users/abecoffman/followers","following_url":"https://api.github.com/users/abecoffman/following{/other_user}","gists_url":"https://api.github.com/users/abecoffman/gists{/gist_id}","starred_url":"https://api.github.com/users/abecoffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abecoffman/subscriptions","organizations_url":"https://api.github.com/users/abecoffman/orgs","repos_url":"https://api.github.com/users/abecoffman/repos","events_url":"https://api.github.com/users/abecoffman/events{/privacy}","received_events_url":"https://api.github.com/users/abecoffman/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T23:45:58Z","updated_at":"2016-11-22T23:45:58Z","body":"@stevezau thanks!"}}
{"actor":{"display_login":"abecoffman"}}