Last active
January 19, 2021 14:55
-
-
Save prestonmcgowan/c144afd516ba2d5704839723db7fd32c to your computer and use it in GitHub Desktop.
Send data from a file of line delimited syslog to the Confluent Connect Syslog Connector
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Sending $1" | |
while read line; do printf "."; echo $line | nc SYSLOG-CONNECT-FQDN_GOES-HERE 1514; done < $1 | |
echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment