Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Elasticsearch 8.0 - Exception: Action/metadata line [1] contains an unknown parameter [_type] #409

Closed
2 of 8 tasks
pankof opened this issue Feb 16, 2022 · 2 comments
Closed
2 of 8 tasks

Comments

@pankof
Copy link

pankof commented Feb 16, 2022

Does this issue relate to a new feature or an existing bug?

  • Bug
  • New Feature

What version of Serilog.Sinks.Elasticsearch is affected? Please list the related NuGet package.

What is the target framework and operating system? See target frameworks & net standard matrix.

  • net 5.0
  • netCore 2.0
  • netCore 1.0
  • 4.7
  • 4.6.x
  • 4.5.x

I am getting this error when serilog tries to log to elasticsearch version 8.0.

Exception: Action/metadata line [1] contains an unknown parameter [_type]

According to the documentation, Elasticsearch 8.0 no longer supports mapping types.

@pankof pankof closed this as completed Feb 16, 2022
@jnus
Copy link
Contributor

jnus commented Mar 18, 2022

@pankof - did you get this issue resolved. Running into the same problem

@pankof
Copy link
Author

pankof commented Mar 18, 2022

No, I just saw it was already open and closed it.
#375

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

No branches or pull requests

2 participants