{"action":"created","issue":{"url":"https://api.github.com/repos/urielha/log4stash/issues/15","repository_url":"https://api.github.com/repos/urielha/log4stash","labels_url":"https://api.github.com/repos/urielha/log4stash/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/urielha/log4stash/issues/15/comments","events_url":"https://api.github.com/repos/urielha/log4stash/issues/15/events","html_url":"https://github.com/urielha/log4stash/issues/15","id":132807633,"number":15,"title":"dynamic indexname","user":{"login":"MonDeveloper","id":5941887,"avatar_url":"https://avatars.githubusercontent.com/u/5941887?v=3","gravatar_id":"","url":"https://api.github.com/users/MonDeveloper","html_url":"https://github.com/MonDeveloper","followers_url":"https://api.github.com/users/MonDeveloper/followers","following_url":"https://api.github.com/users/MonDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/MonDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/MonDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MonDeveloper/subscriptions","organizations_url":"https://api.github.com/users/MonDeveloper/orgs","repos_url":"https://api.github.com/users/MonDeveloper/repos","events_url":"https://api.github.com/users/MonDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/MonDeveloper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-10T20:20:56Z","updated_at":"2016-04-06T20:30:46Z","closed_at":null,"body":"I usually configure the IndexName with a fixed part (the ImndexName prefix) + the rolling date part. \r\nIt worked smoothly.\r\nNow I need something more complex, I need to change the IndexName prefix from \"the fixed part\" to \"a dynamic part\" based on a message field like **%logger** for instance. I tried using  both **%logger** and **%{logger}** but anytime it has been literally copied as part of the final IndexName and not evaluated."},"comment":{"url":"https://api.github.com/repos/urielha/log4stash/issues/comments/206548353","html_url":"https://github.com/urielha/log4stash/issues/15#issuecomment-206548353","issue_url":"https://api.github.com/repos/urielha/log4stash/issues/15","id":206548353,"user":{"login":"urielha","id":5815603,"avatar_url":"https://avatars.githubusercontent.com/u/5815603?v=3","gravatar_id":"","url":"https://api.github.com/users/urielha","html_url":"https://github.com/urielha","followers_url":"https://api.github.com/users/urielha/followers","following_url":"https://api.github.com/users/urielha/following{/other_user}","gists_url":"https://api.github.com/users/urielha/gists{/gist_id}","starred_url":"https://api.github.com/users/urielha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urielha/subscriptions","organizations_url":"https://api.github.com/users/urielha/orgs","repos_url":"https://api.github.com/users/urielha/repos","events_url":"https://api.github.com/users/urielha/events{/privacy}","received_events_url":"https://api.github.com/users/urielha/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T20:30:46Z","updated_at":"2016-04-06T20:30:46Z","body":"I'm sorry I couldn't reproduce this,\r\n\r\nMy configuration is:\r\n```xml\r\n<appender name=\"ElasticSearchAppender\" type=\"log4net.ElasticSearch.ElasticSearchAppender, log4stash\">\r\n    <Server>localhost</Server>\r\n    <Port>9200</Port>\r\n    <IndexName>index_%{logger}</IndexName>\r\n    <IndexType>LogEvent</IndexType>\r\n    <Bulksize>1</Bulksize>\r\n    <BulkIdleTimeout>-1</BulkIdleTimeout>\r\n    <IndexAsync>False</IndexAsync>\r\n    <FixedFields>Partial</FixedFields>  \r\n    <ElasticFilters>\r\n      <Add>\r\n        <Key>logger</Key>\r\n        <Value>name</Value>\r\n      </Add>\r\n    </ElasticFilters>\r\n  </appender>\r\n```\r\n\r\nAnd it successfully created index name `index_name`\r\n\r\n"}}