* [OpenTsdb](09-object-types.md#objecttype-opentsdbwriter)
* [Perfdata](09-object-types.md#objecttype-perfdatawriter) (for PNP)
+
### Package Dependencies <a id="upgrading-to-2-11-package-dependencies"></a>
#### Removed: YAJL
/* Specify required headers by Elasticsearch. */
req.AddHeader("Accept", "application/json");
- req.AddHeader("Content-Type", "application/json");
+
+ /* Use application/x-ndjson for bulk streams. While ES
+ * is able to handle application/json, the newline separator
+ * causes problems with Logstash (#6609).
+ */
+ req.AddHeader("Content-Type", "application/x-ndjson");
/* Send authentication if configured. */
String username = GetUsername();