<?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: Is Splunk support Perl script? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-Splunk-support-Perl-script/m-p/495988#M84574</link>
    <description>&lt;P&gt;Hello @dada1234 &lt;/P&gt;

&lt;P&gt;splunk can get parse output of any script which supported by the operating system. Follow these steps for Linux:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;write a perl script&lt;/P&gt;

&lt;P&gt;#!/usr/bin/perl&lt;BR /&gt;
print "hello";&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;place it in /opt/splunk/etc/apps/search/bin/ and add an executable bit&lt;/P&gt;

&lt;P&gt;chmod +x /opt/splunk/etc/apps/search/bin/test.pl&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;test your script using CLI&lt;/P&gt;

&lt;P&gt;/opt/splunk/etc/apps/search/bin/test.pl&lt;BR /&gt;
hello&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;configure your inputs.conf (/opt/splunk/etc/apps/search/local/inputs.conf)&lt;/P&gt;

&lt;P&gt;[script://./bin/test.pl]&lt;BR /&gt;
 disabled = false&lt;BR /&gt;
 sourcetype = test1&lt;BR /&gt;
 interval = 10&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;restart splunk&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;search&lt;/P&gt;

&lt;P&gt;index=* sourcetype=test1&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Mon, 11 May 2020 20:34:18 GMT</pubDate>
    <dc:creator>PavelP</dc:creator>
    <dc:date>2020-05-11T20:34:18Z</dc:date>
    <item>
      <title>Is Splunk support Perl script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-Splunk-support-Perl-script/m-p/495985#M84571</link>
      <description>&lt;P&gt;I am looking for Perl script execution steps in Splunk. Please provide the details steps in case of possible.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 13:57:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-Splunk-support-Perl-script/m-p/495985#M84571</guid>
      <dc:creator>dada1234</dc:creator>
      <dc:date>2020-05-11T13:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is Splunk support Perl script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-Splunk-support-Perl-script/m-p/495986#M84572</link>
      <description>&lt;P&gt;Splunk supports Python and shell (bash) scripts.  Other program/script types can be invoked via bash.  If you describe want you want to accomplish then perhaps someone can be more specific.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 18:59:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-Splunk-support-Perl-script/m-p/495986#M84572</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-05-11T18:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is Splunk support Perl script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-Splunk-support-Perl-script/m-p/495987#M84573</link>
      <description>&lt;P&gt;&lt;A href="https://www.google.com/search?q=splunk+perl+script"&gt;https://www.google.com/search?q=splunk+perl+script&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 19:23:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-Splunk-support-Perl-script/m-p/495987#M84573</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-11T19:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is Splunk support Perl script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-Splunk-support-Perl-script/m-p/495988#M84574</link>
      <description>&lt;P&gt;Hello @dada1234 &lt;/P&gt;

&lt;P&gt;splunk can get parse output of any script which supported by the operating system. Follow these steps for Linux:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;write a perl script&lt;/P&gt;

&lt;P&gt;#!/usr/bin/perl&lt;BR /&gt;
print "hello";&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;place it in /opt/splunk/etc/apps/search/bin/ and add an executable bit&lt;/P&gt;

&lt;P&gt;chmod +x /opt/splunk/etc/apps/search/bin/test.pl&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;test your script using CLI&lt;/P&gt;

&lt;P&gt;/opt/splunk/etc/apps/search/bin/test.pl&lt;BR /&gt;
hello&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;configure your inputs.conf (/opt/splunk/etc/apps/search/local/inputs.conf)&lt;/P&gt;

&lt;P&gt;[script://./bin/test.pl]&lt;BR /&gt;
 disabled = false&lt;BR /&gt;
 sourcetype = test1&lt;BR /&gt;
 interval = 10&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;restart splunk&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;search&lt;/P&gt;

&lt;P&gt;index=* sourcetype=test1&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 11 May 2020 20:34:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-Splunk-support-Perl-script/m-p/495988#M84574</guid>
      <dc:creator>PavelP</dc:creator>
      <dc:date>2020-05-11T20:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is Splunk support Perl script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-Splunk-support-Perl-script/m-p/687783#M114566</link>
      <description>&lt;P&gt;But what about Splunk Cloud. Does it also support Perl?&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 19:17:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-Splunk-support-Perl-script/m-p/687783#M114566</guid>
      <dc:creator>richieri</dc:creator>
      <dc:date>2024-05-16T19:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is Splunk support Perl script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-Splunk-support-Perl-script/m-p/687784#M114567</link>
      <description>&lt;P&gt;It’s still same situation for supported languages. Supported means e.g. splunklib etc. integration support. Of course you could use almost any languages to do e.g. scripted inputs.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 19:35:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-Splunk-support-Perl-script/m-p/687784#M114567</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-05-16T19:35:48Z</dc:date>
    </item>
  </channel>
</rss>

