<?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 Scripted input not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-working/m-p/485578#M83128</link>
    <description>&lt;P&gt;[script://$SPLUNK_HOME/etc/apps/serial_numbers/bin/test.sh]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
host = PoC_test&lt;BR /&gt;
index = snmp&lt;BR /&gt;
interval = 60.0&lt;BR /&gt;
sourcetype = serial_custom&lt;BR /&gt;
source = PoC_test&lt;/P&gt;

&lt;P&gt;when my script contains folowing, it will not provide anything to Splunk&lt;/P&gt;

&lt;H1&gt;!/bin/sh&lt;/H1&gt;

&lt;P&gt;/usr/bin/snmpget -v1 -O0 -c public poc_test IF-MIB::ifPhysAddress.1&lt;/P&gt;

&lt;P&gt;but this works fine:&lt;/P&gt;

&lt;H1&gt;!/bin/sh&lt;/H1&gt;

&lt;P&gt;/usr/bin/snmpget -v1  -c public poc_rm IF-MIB::ifPhysAddress.1&lt;/P&gt;

&lt;P&gt;anyone know where is the problem ?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:15:33 GMT</pubDate>
    <dc:creator>dolezelk</dc:creator>
    <dc:date>2020-09-30T02:15:33Z</dc:date>
    <item>
      <title>Scripted input not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-working/m-p/485578#M83128</link>
      <description>&lt;P&gt;[script://$SPLUNK_HOME/etc/apps/serial_numbers/bin/test.sh]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
host = PoC_test&lt;BR /&gt;
index = snmp&lt;BR /&gt;
interval = 60.0&lt;BR /&gt;
sourcetype = serial_custom&lt;BR /&gt;
source = PoC_test&lt;/P&gt;

&lt;P&gt;when my script contains folowing, it will not provide anything to Splunk&lt;/P&gt;

&lt;H1&gt;!/bin/sh&lt;/H1&gt;

&lt;P&gt;/usr/bin/snmpget -v1 -O0 -c public poc_test IF-MIB::ifPhysAddress.1&lt;/P&gt;

&lt;P&gt;but this works fine:&lt;/P&gt;

&lt;H1&gt;!/bin/sh&lt;/H1&gt;

&lt;P&gt;/usr/bin/snmpget -v1  -c public poc_rm IF-MIB::ifPhysAddress.1&lt;/P&gt;

&lt;P&gt;anyone know where is the problem ?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:15:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-working/m-p/485578#M83128</guid>
      <dc:creator>dolezelk</dc:creator>
      <dc:date>2020-09-30T02:15:33Z</dc:date>
    </item>
  </channel>
</rss>

