You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have a requirement to process some log data and send it on via Syslog, however, the log data itself contains the hostname, rather than being the same for all calls of the Send-SyslogMesssage. With the Hostname parameter not being considered as a Pipeline Parameter, the code would become more complex.
Describe the solution you'd like
It would be great if the Hostname Parameter could be supplied in the Pipeline by Property Name.
Examples of how the solution would work
Convert-LogFile is an example function, that outputs PSObject with Message, Timestamp and Hostname.
Describe alternatives you've considered
An alternate method would be to assign the results of the Convert-LogFile to a variable, and loop through the values (100's or potentially 1000's), calling Send-SyslogMessage with it's values.
Additional context
The Hostname value is needed by my target SIEM system to be able to extract the originating host from the Syslog Relay header.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I have a requirement to process some log data and send it on via Syslog, however, the log data itself contains the hostname, rather than being the same for all calls of the Send-SyslogMesssage. With the Hostname parameter not being considered as a Pipeline Parameter, the code would become more complex.
Describe the solution you'd like
It would be great if the Hostname Parameter could be supplied in the Pipeline by Property Name.
Examples of how the solution would work
Convert-LogFile is an example function, that outputs PSObject with Message, Timestamp and Hostname.
Describe alternatives you've considered
An alternate method would be to assign the results of the Convert-LogFile to a variable, and loop through the values (100's or potentially 1000's), calling Send-SyslogMessage with it's values.
Additional context
The Hostname value is needed by my target SIEM system to be able to extract the originating host from the Syslog Relay header.
The text was updated successfully, but these errors were encountered: