Skip to content

Getting HTTP 406 error from Elastic Search #2

Description

@UtopleMan

Hi I'm getting an HTTP 406 error every time the ElasticSearchReport tries to index a bunch of metrics on newest version of ElasticSearch 6.2.2. Anyone else have that problem?

The solution is to add the following line in 94 of ElasticSearchReport.cs:
client.Headers.Add("Content-Type", "application/x-ndjson");

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions