|
There must be an easy way to fire a single message over UDP to a splunk forwarder/server. "logger" nearly does it. I want to do something like this: testlogger -h host -p port "message to log in Splunk" Let me specify- Unix commandline. I suppose I could write a few lines of code, but am I the first person to want this? |
|
You can use netcat for this purpose:
Example:
(This works on Linux) On a Mac, you have to use the -w option instead of -q
Maybe the netcat command is different on other *nix systems as well. thanks! That's exactly what I was looking for.
(28 Sep '10, 18:28)
tedder
|
