<?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 How can i add udp port 514 and 161 on the ./splunk? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-can-i-add-udp-port-514-and-161-on-the-splunk/m-p/165293#M4910</link>
    <description>&lt;P&gt;I am using centos and i have opened the ports on the iptables but now if i try to add them on the ./splunk they give me the following messages:&lt;/P&gt;

&lt;P&gt;root@localhost intern.network_trainee]# cd /opt/splunk/bin/&lt;/P&gt;

&lt;P&gt;[root@localhost bin]# ./splunk add udp 514 -sourcetype syslog&lt;BR /&gt;
In handler 'udp': Parameter name: UDP port 514 is not available.&lt;/P&gt;

&lt;P&gt;[root@localhost bin]# ./splunk add udp 161 -sourcetype snmp&lt;BR /&gt;
In handler 'udp': Parameter name: UDP port 161 is not available.&lt;/P&gt;

&lt;P&gt;[root@localhost bin]# &lt;/P&gt;

&lt;P&gt;And what confuses me the most is the $SPLUNK_HOME and /opt/spunk/ , is there a difference between the two directories? &lt;/P&gt;</description>
    <pubDate>Wed, 17 Jun 2015 03:53:19 GMT</pubDate>
    <dc:creator>cebo_myeza</dc:creator>
    <dc:date>2015-06-17T03:53:19Z</dc:date>
    <item>
      <title>How can i add udp port 514 and 161 on the ./splunk?</title>
      <link>https://community.splunk.com/t5/Security/How-can-i-add-udp-port-514-and-161-on-the-splunk/m-p/165293#M4910</link>
      <description>&lt;P&gt;I am using centos and i have opened the ports on the iptables but now if i try to add them on the ./splunk they give me the following messages:&lt;/P&gt;

&lt;P&gt;root@localhost intern.network_trainee]# cd /opt/splunk/bin/&lt;/P&gt;

&lt;P&gt;[root@localhost bin]# ./splunk add udp 514 -sourcetype syslog&lt;BR /&gt;
In handler 'udp': Parameter name: UDP port 514 is not available.&lt;/P&gt;

&lt;P&gt;[root@localhost bin]# ./splunk add udp 161 -sourcetype snmp&lt;BR /&gt;
In handler 'udp': Parameter name: UDP port 161 is not available.&lt;/P&gt;

&lt;P&gt;[root@localhost bin]# &lt;/P&gt;

&lt;P&gt;And what confuses me the most is the $SPLUNK_HOME and /opt/spunk/ , is there a difference between the two directories? &lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 03:53:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-i-add-udp-port-514-and-161-on-the-splunk/m-p/165293#M4910</guid>
      <dc:creator>cebo_myeza</dc:creator>
      <dc:date>2015-06-17T03:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can i add udp port 514 and 161 on the ./splunk?</title>
      <link>https://community.splunk.com/t5/Security/How-can-i-add-udp-port-514-and-161-on-the-splunk/m-p/165294#M4911</link>
      <description>&lt;P&gt;Hi cebo_myeza,&lt;/P&gt;

&lt;P&gt;exactly like answered here &lt;A href="http://answers.splunk.com/answers/242650/how-to-allow-splunk-to-connect-udp-161-port-in-lin.html"&gt;http://answers.splunk.com/answers/242650/how-to-allow-splunk-to-connect-udp-161-port-in-lin.html&lt;/A&gt;&lt;BR /&gt;
Make sure the ports are not in use, also check any SELINUX settings.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 04:19:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-i-add-udp-port-514-and-161-on-the-splunk/m-p/165294#M4911</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-06-17T04:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can i add udp port 514 and 161 on the ./splunk?</title>
      <link>https://community.splunk.com/t5/Security/How-can-i-add-udp-port-514-and-161-on-the-splunk/m-p/165295#M4912</link>
      <description>&lt;P&gt;in order to use ./splunk they say i must set environmental variables, like below&lt;/P&gt;

&lt;P&gt;export SPLUNK_HOME=/opt/splunk&lt;BR /&gt;
 export PATH=$SPLUNK_HOME/bin:$PATH&lt;/P&gt;

&lt;P&gt;Do i have to type this inside the setEnv file&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:16:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-i-add-udp-port-514-and-161-on-the-splunk/m-p/165295#M4912</guid>
      <dc:creator>cebo_myeza</dc:creator>
      <dc:date>2020-09-28T20:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can i add udp port 514 and 161 on the ./splunk?</title>
      <link>https://community.splunk.com/t5/Security/How-can-i-add-udp-port-514-and-161-on-the-splunk/m-p/165296#M4913</link>
      <description>&lt;P&gt;You can use the file provided by Splunk like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source /opt/splunk/bin/setSplunkEnv
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jun 2015 20:26:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-i-add-udp-port-514-and-161-on-the-splunk/m-p/165296#M4913</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-06-17T20:26:36Z</dc:date>
    </item>
  </channel>
</rss>

