{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/5097","repository_url":"https://api.github.com/repos/elastic/logstash","labels_url":"https://api.github.com/repos/elastic/logstash/issues/5097/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/5097/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/5097/events","html_url":"https://github.com/elastic/logstash/issues/5097","id":147798477,"number":5097,"title":"'include functionality' for logstash config files","user":{"login":"ris-ppum","id":5537527,"avatar_url":"https://avatars.githubusercontent.com/u/5537527?v=3","gravatar_id":"","url":"https://api.github.com/users/ris-ppum","html_url":"https://github.com/ris-ppum","followers_url":"https://api.github.com/users/ris-ppum/followers","following_url":"https://api.github.com/users/ris-ppum/following{/other_user}","gists_url":"https://api.github.com/users/ris-ppum/gists{/gist_id}","starred_url":"https://api.github.com/users/ris-ppum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ris-ppum/subscriptions","organizations_url":"https://api.github.com/users/ris-ppum/orgs","repos_url":"https://api.github.com/users/ris-ppum/repos","events_url":"https://api.github.com/users/ris-ppum/events{/privacy}","received_events_url":"https://api.github.com/users/ris-ppum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/logstash/labels/config%20management","name":"config management","color":"bfd4f2"},{"url":"https://api.github.com/repos/elastic/logstash/labels/enhancement","name":"enhancement","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-12T16:02:16Z","updated_at":"2016-04-22T11:15:11Z","closed_at":null,"body":"We are currently using a lot of different logstash config files for several sources, and keeping tracking of the configs in a modular manner is not easily possible. Are there any plans on adding some sort of 'include functionality' to logstash.\r\n\r\nFor example:\r\n\r\nA.conf :\r\n```\r\nfilter {\r\n  .... # do stuff A\r\n}\r\n```\r\n\r\nB.conf :\r\n```\r\nfilter {\r\n  .... # do stuff B\r\n}\r\n```\r\n\r\nIn the actual config file We would use something like:\r\n\r\nrun.conf :\r\n```\r\ninput { ... }\r\n\r\ninclude('B')\r\ninclude('C')\r\n\r\noutput { ... }\r\n```\r\n---------------------\r\n\r\nWe are currently using symlinks and whole directories as config source as a workaround, but running into different problems here."},"comment":{"url":"https://api.github.com/repos/elastic/logstash/issues/comments/213383593","html_url":"https://github.com/elastic/logstash/issues/5097#issuecomment-213383593","issue_url":"https://api.github.com/repos/elastic/logstash/issues/5097","id":213383593,"user":{"login":"jordansissel","id":131818,"avatar_url":"https://avatars.githubusercontent.com/u/131818?v=3","gravatar_id":"","url":"https://api.github.com/users/jordansissel","html_url":"https://github.com/jordansissel","followers_url":"https://api.github.com/users/jordansissel/followers","following_url":"https://api.github.com/users/jordansissel/following{/other_user}","gists_url":"https://api.github.com/users/jordansissel/gists{/gist_id}","starred_url":"https://api.github.com/users/jordansissel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordansissel/subscriptions","organizations_url":"https://api.github.com/users/jordansissel/orgs","repos_url":"https://api.github.com/users/jordansissel/repos","events_url":"https://api.github.com/users/jordansissel/events{/privacy}","received_events_url":"https://api.github.com/users/jordansissel/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T11:15:11Z","updated_at":"2016-04-22T11:15:11Z","body":"> We are currently using symlinks and whole directories as config source as a workaround, but running into different problems here.\r\n\r\n\r\nwhat problems?"}}