{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/logstash/issues/1629","labels_url":"https://api.github.com/repos/elasticsearch/logstash/issues/1629/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/logstash/issues/1629/comments","events_url":"https://api.github.com/repos/elasticsearch/logstash/issues/1629/events","html_url":"https://github.com/elasticsearch/logstash/issues/1629","id":40186642,"number":1629,"title":"Provide ability in config file to declare a variable that can be referenced throughout the file (e.g. pattern_dir)","user":{"login":"woolfie","id":967287,"avatar_url":"https://avatars.githubusercontent.com/u/967287?v=3","gravatar_id":"","url":"https://api.github.com/users/woolfie","html_url":"https://github.com/woolfie","followers_url":"https://api.github.com/users/woolfie/followers","following_url":"https://api.github.com/users/woolfie/following{/other_user}","gists_url":"https://api.github.com/users/woolfie/gists{/gist_id}","starred_url":"https://api.github.com/users/woolfie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woolfie/subscriptions","organizations_url":"https://api.github.com/users/woolfie/orgs","repos_url":"https://api.github.com/users/woolfie/repos","events_url":"https://api.github.com/users/woolfie/events{/privacy}","received_events_url":"https://api.github.com/users/woolfie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-08-13T18:53:39Z","updated_at":"2015-01-22T23:30:32Z","closed_at":"2015-01-22T23:30:32Z","body":"In a large logstash config file, I often find myself having to specify the same pattern_dir for the grok filter multiple times throughout the file.\r\n\r\nIt would be very helpful if I could set this path once at the top of the config file and then refer to it throughout the file.\r\n\r\nThis is just one example where the ability to set and reference a variable would be useful, I'm sure there are others."},"comment":{"url":"https://api.github.com/repos/elasticsearch/logstash/issues/comments/71121130","html_url":"https://github.com/elasticsearch/logstash/issues/1629#issuecomment-71121130","issue_url":"https://api.github.com/repos/elasticsearch/logstash/issues/1629","id":71121130,"user":{"login":"suyograo","id":1595958,"avatar_url":"https://avatars.githubusercontent.com/u/1595958?v=3","gravatar_id":"","url":"https://api.github.com/users/suyograo","html_url":"https://github.com/suyograo","followers_url":"https://api.github.com/users/suyograo/followers","following_url":"https://api.github.com/users/suyograo/following{/other_user}","gists_url":"https://api.github.com/users/suyograo/gists{/gist_id}","starred_url":"https://api.github.com/users/suyograo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suyograo/subscriptions","organizations_url":"https://api.github.com/users/suyograo/orgs","repos_url":"https://api.github.com/users/suyograo/repos","events_url":"https://api.github.com/users/suyograo/events{/privacy}","received_events_url":"https://api.github.com/users/suyograo/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T23:30:32Z","updated_at":"2015-01-22T23:30:32Z","body":"Closed based on @jordansissel comments"}}