{"action":"opened","issue":{"url":"https://api.github.com/repos/urielha/log4stash/issues/4","repository_url":"https://api.github.com/repos/urielha/log4stash","labels_url":"https://api.github.com/repos/urielha/log4stash/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/urielha/log4stash/issues/4/comments","events_url":"https://api.github.com/repos/urielha/log4stash/issues/4/events","html_url":"https://github.com/urielha/log4stash/issues/4","id":147867963,"number":4,"title":"Custom log4net values get submitted as { \"Count\": 1 }","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},"labels":[{"url":"https://api.github.com/repos/urielha/log4stash/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":0,"created_at":"2016-04-12T20:45:04Z","updated_at":"2016-04-12T20:45:04Z","closed_at":null,"body":"_From @Dima234 on February 8, 2016 23:15_\n\nWe log custom property values using log4net with this code:\r\n`LogicalThreadContext.Stacks[\"UserName\"].Push(\"jsmith\")`\r\n\r\nElasticsearch receives this as\r\n```\r\n\"UserName\": {\r\n  \"Count\": 1\r\n},\r\n```\r\nexpected is\r\n```\r\n\"UserName\": \"jsmith\",\r\n```\r\n\r\nFor the reference, correct value ('jsmith' in the example above) gets logged by RollingFileAppender, so it looks like something in log4stash causing this issue. We use latest (1.1.1) log4stash version with MS webapi project targeting .NET 4.6. Our appender config looks like this:\r\n```\r\n\r\n<appender name=\"ElasticSearchAppender\" type=\"log4net.ElasticSearch.ElasticSearchAppender, log4stash\">\r\n\t<layout type=\"log4net.Layout.PatternLayout,log4net\">\r\n\t\t<param name=\"ConversionPattern\" value=\"%utcdate{ABSOLUTE} %-5level %logger - %message%newline\" />\r\n\t</layout>\r\n\t<filter type=\"log4net.Filter.LevelRangeFilter\">\r\n\t\t<levelMin value=\"WARN\" />\r\n\t\t<levelMax value=\"FATAL\" />\r\n\t</filter>\r\n\t<Server>localhost</Server>\r\n\t<Port>9200</Port>\r\n\t<IndexName>log_%{+yyyy-MM-dd}</IndexName>\r\n\t<IndexType>LogEvent</IndexType>\r\n\t<Bulksize>2000</Bulksize>\r\n\t<BulkIdleTimeout>10000</BulkIdleTimeout>\r\n\t<IndexAsync>True</IndexAsync>\r\n\t<FixedFields>772</FixedFields>\r\n\t<SerializeObjects>false</SerializeObjects>\r\n\t<ElasticFilters>\r\n\t\t<kv>\r\n\t\t\t<SourceKey>Message</SourceKey>\r\n\t\t\t<ValueSplit>|</ValueSplit>\r\n\t\t\t<FieldSplit> ,</FieldSplit>\r\n\t\t</kv>\r\n\t</ElasticFilters>\r\n</appender>\r\n```\n\n_Copied from original issue: urielha/log4stash-old#14_"}}