datalust / nlog-targets-seq

An NLog target that writes events to Seq. Built for NLog 4.5+.
https://getseq.net
Apache License 2.0
21 stars 11 forks source link

Support additional HTTP header `<header name="" value="" />` target configuration items #76

Closed nblumhardt closed 7 months ago

nblumhardt commented 7 months ago

This has been requested to support passing HTTP requests from the target through intermediate security/proxy layers.

      <target xsi:type="Seq" serverUrl="http://localhost:5341" apiKey="">
        <property name="ThreadId" value="${threadid}" as="number" />
        <property name="MachineName" value="${machinename}" />
        <header name="X-Test" value="test" />
      </target>