{"action":"opened","issue":{"url":"https://api.github.com/repos/kelseyhightower/confd/issues/211","labels_url":"https://api.github.com/repos/kelseyhightower/confd/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/kelseyhightower/confd/issues/211/comments","events_url":"https://api.github.com/repos/kelseyhightower/confd/issues/211/events","html_url":"https://github.com/kelseyhightower/confd/issues/211","id":59349151,"number":211,"title":"Is it possible to get the first key in a directory?  What about looking at values","user":{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-28T17:15:05Z","updated_at":"2015-02-28T17:15:05Z","closed_at":null,"body":"In etcd I have the following key structure:\r\n\r\n```\r\n/foo\r\n/foo/10.149.86.131\r\n/foo/10.150.107.88\r\n/foo/10.168.214.233\r\n```\r\n\r\nAnd I just want to get **one** of the children of foo-node-state (in fact I don't care which one).  Is this possible in confd?\r\n\r\nAlso, if would it be possible to add logic based on the value?  For example:\r\n\r\n```\r\n/foo\r\n/foo/10.149.86.131 -> failed\r\n/foo/10.150.107.88 -> active\r\n/foo/10.168.214.233 -> failed\r\n```\r\n\r\nIs it possible to have confd return me the first key it sees under `/foo` where the value is `active`?"}}