Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom log4net values get submitted as { "Count": 1 } #68

Open
tbena opened this issue Jul 22, 2020 · 2 comments
Open

Custom log4net values get submitted as { "Count": 1 } #68

tbena opened this issue Jul 22, 2020 · 2 comments

Comments

@tbena
Copy link

tbena commented Jul 22, 2020

I have the exact same problem as described in issue #4
Elastic version: 5.6.10
Log4net version: 2.0.8
Log4stash version: 3.0.0

@tsmithleantechniques
Copy link

I ran into the same issue, but I resolved it by using the ElasticFilters and converting UserName to a string.

Here is an example:

    <ElasticFilters>
      <Convert>
        <ToString>UserName</ToString>
      </Convert>
    </ElasticFilters>

@urielha
Copy link
Owner

urielha commented Dec 22, 2020

That's weird since I've fixed it on that version.
I will check this again.

Thanks @tsmithleantechniques for the workaround, I will check that too 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants