<?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: How to input data from perl script to splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-input-data-from-perl-script-to-splunk/m-p/246466#M47587</link>
    <description>&lt;P&gt;Hi lemmerich,&lt;/P&gt;

&lt;P&gt;try running your script from the CLI &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd $SPLUNK_HOME/bin/scripts/helloworld.pl 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and see what happens. Next check &lt;CODE&gt;index=_internal sourcetype=splunkd&lt;/CODE&gt; for any message related to &lt;CODE&gt;helloworld.pl&lt;/CODE&gt;. Check the &lt;CODE&gt;inputs.conf&lt;/CODE&gt; and verify the index setting for your script and search the index over &lt;CODE&gt;all time&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2016 20:40:48 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2016-05-11T20:40:48Z</dc:date>
    <item>
      <title>How to input data from perl script to splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-input-data-from-perl-script-to-splunk/m-p/246465#M47586</link>
      <description>&lt;P&gt;Hello guys, I am new to splunk and I am trying to input data from a perl script.&lt;/P&gt;

&lt;P&gt;Script is very simple, a helloworld.pl that prints "timestamp hello world". (running the script from command line output the correct string...&lt;/P&gt;

&lt;P&gt;I have already added the script to splunk/bin/scripts and created a script data input configuration on the UI (generic_single_line results). When searching for data though i get a No results found. / 0 events.&lt;/P&gt;

&lt;P&gt;Any help on what I am missing? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:41:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-input-data-from-perl-script-to-splunk/m-p/246465#M47586</guid>
      <dc:creator>lemmerich</dc:creator>
      <dc:date>2020-09-29T09:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to input data from perl script to splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-input-data-from-perl-script-to-splunk/m-p/246466#M47587</link>
      <description>&lt;P&gt;Hi lemmerich,&lt;/P&gt;

&lt;P&gt;try running your script from the CLI &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd $SPLUNK_HOME/bin/scripts/helloworld.pl 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and see what happens. Next check &lt;CODE&gt;index=_internal sourcetype=splunkd&lt;/CODE&gt; for any message related to &lt;CODE&gt;helloworld.pl&lt;/CODE&gt;. Check the &lt;CODE&gt;inputs.conf&lt;/CODE&gt; and verify the index setting for your script and search the index over &lt;CODE&gt;all time&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 20:40:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-input-data-from-perl-script-to-splunk/m-p/246466#M47587</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-05-11T20:40:48Z</dc:date>
    </item>
  </channel>
</rss>

