write-fluentd is recived from another cmdlet output by pipe, and post to fluentd server
Download "write-fluentd.ps1" and use with dot operator
. \write-fluentd.ps1
Do-SomeCmdlet | write-fluentd -server 'http://fluentd-server:9880/' `
-tag 'net.somecmdlet' `
-text 'location'
Protocol (http or https), fluentd server FQDN, and port number
fluentd tag
specify the fields for text properties (not value fields) by String Array
Ex. -text ('location','hostname','user')
This Script is licensed according to the terms of the MIT License.