<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: commandline method to test Splunk over UDP? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/commandline-method-to-test-Splunk-over-UDP/m-p/59649#M1971</link>
    <description>&lt;P&gt;thanks! That's exactly what I was looking for.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Sep 2010 01:28:52 GMT</pubDate>
    <dc:creator>tedder</dc:creator>
    <dc:date>2010-09-29T01:28:52Z</dc:date>
    <item>
      <title>commandline method to test Splunk over UDP?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/commandline-method-to-test-Splunk-over-UDP/m-p/59647#M1969</link>
      <description>&lt;P&gt;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:&lt;/P&gt;

&lt;P&gt;testlogger -h host -p port "message to log in Splunk"&lt;/P&gt;

&lt;P&gt;Let me specify- Unix commandline. I suppose I could write a few lines of code, but am I the first person to want this?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2010 01:02:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/commandline-method-to-test-Splunk-over-UDP/m-p/59647#M1969</guid>
      <dc:creator>tedder</dc:creator>
      <dc:date>2010-09-29T01:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: commandline method to test Splunk over UDP?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/commandline-method-to-test-Splunk-over-UDP/m-p/59648#M1970</link>
      <description>&lt;P&gt;You can use netcat for this purpose:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;echo "message to log in Splunk" | nc -u -q 0 &amp;lt;HOST&amp;gt; &amp;lt;PORT&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;echo "message to log in Splunk" | nc -u -q 0 localhost 514
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(This works on Linux)&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;On a Mac, you have to use the -w option instead of -q&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;echo "message to log in Splunk" | nc -u -w 0 splunkhost.mydomain.com 514
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Maybe the netcat command is different on other *nix systems as well.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2010 01:18:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/commandline-method-to-test-Splunk-over-UDP/m-p/59648#M1970</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2010-09-29T01:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: commandline method to test Splunk over UDP?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/commandline-method-to-test-Splunk-over-UDP/m-p/59649#M1971</link>
      <description>&lt;P&gt;thanks! That's exactly what I was looking for.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2010 01:28:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/commandline-method-to-test-Splunk-over-UDP/m-p/59649#M1971</guid>
      <dc:creator>tedder</dc:creator>
      <dc:date>2010-09-29T01:28:52Z</dc:date>
    </item>
  </channel>
</rss>

