{"action":"closed","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/27591","labels_url":"https://api.github.com/repos/saltstack/salt/issues/27591/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/27591/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/27591/events","html_url":"https://github.com/saltstack/salt/issues/27591","id":109244186,"number":27591,"title":"Use event returners to return data like returners but via the master","user":{"login":"arthurlogilab","id":445200,"avatar_url":"https://avatars.githubusercontent.com/u/445200?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurlogilab","html_url":"https://github.com/arthurlogilab","followers_url":"https://api.github.com/users/arthurlogilab/followers","following_url":"https://api.github.com/users/arthurlogilab/following{/other_user}","gists_url":"https://api.github.com/users/arthurlogilab/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurlogilab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurlogilab/subscriptions","organizations_url":"https://api.github.com/users/arthurlogilab/orgs","repos_url":"https://api.github.com/users/arthurlogilab/repos","events_url":"https://api.github.com/users/arthurlogilab/events{/privacy}","received_events_url":"https://api.github.com/users/arthurlogilab/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Feature","name":"Feature","color":"009800"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Platform","name":"Platform","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Returners","name":"Returners","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2581,"closed_issues":2721,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-10-08T17:31:42Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-10-01T07:24:14Z","updated_at":"2015-10-08T17:31:42Z","closed_at":"2015-10-08T17:31:42Z","body":"I'm using returners to feed data into a carbon/graphite/grafana setup but the graphite is not directly accessible to all my minions (firewalls etc.) so I turned to the event returner which in my mind did just that since my graphite is visible to the master. \r\n\r\nApart from a small bug described in #27590, the result was not what I expected, it puts the data using the jid so the data is unexplainable (or I don't get how one would use it). I hacked a working version by replacing https://github.com/saltstack/salt/blob/develop/salt/returners/carbon_return.py#L270 with ```returner(saltdata)``` but I'd like an opinion about it before submitting a patch. \r\n\r\nOn that subject if the jid context is useful in some use cases, could we have an event-returner configuration that says \"return data as as\" or \"return data with jid context\" ? "}}