NLog.Targets.ElasticSearch icon indicating copy to clipboard operation
NLog.Targets.ElasticSearch copied to clipboard

Support NLog 5

Open paladinu opened this issue 2 years ago • 3 comments

Is there a plan to support NLog 5? The readme shows this:

Version Elasticsearch Version NLog Version
7.x 7.x 4.6.x
6.x 6.x 4.5.x

But no mention of version 5. I'm just trying to plan updates and wondering if I'm locked in.

paladinu avatar Jul 14 '22 16:07 paladinu

NLog 5.0 is already supported.

But if using EnableJsonLayout then you have to explicitly specify pipeline="" until #159 has been merged and released.

snakefoot avatar Jul 14 '22 16:07 snakefoot

Great news! Thank you!

paladinu avatar Jul 14 '22 17:07 paladinu

I can confirm that. The workaround is working fine so far.

  • .NET 6
  • NLog 5.0.4
  • NLog.Targets.ElasticSearch 7.7.0
  • Elasticsearch 8.3.3

rgueldenpfennig avatar Sep 14 '22 14:09 rgueldenpfennig