Skip to content

add proc id to RFC3164 #26

Description

@dicolanl

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Add support for process ID in RFC 3164. per https://tools.ietf.org/html/rfc3164#section-5.3 process id would be enclosed in []

Describe the solution you'd like
A clear and concise description of what you want to happen.
when using -processid with -rfc3164, send the message with process id in []

Examples of how the solution would work
Some simple PowerShell examples of how the solution would work.
Send-SyslogMessage -Server 172.17.116.142 -Message "CEF:0|Microsoft|Powerhsell|6.2|ID|PWSH|6|src=8.8.8.8 dst=67.166.178.142" -Severity Informational -Facility local7 -RFC3164 -Port 5514 -ProcessID 123

output: <190>Feb 24 11:05:17 172.17.116.129 PowerShell[123]: CEF:0|Microsoft|Powerhsell|6.2|ID|PWSH|6|src=8.8.8.8 dst=67.166.178.142
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions