<?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: where does splunk store output of shell scripts? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/where-does-splunk-store-output-of-shell-scripts/m-p/484169#M193406</link>
    <description>&lt;P&gt;If you are running &lt;CODE&gt;scripted inputs&lt;/CODE&gt;, then Splunk will index the output that it sees hitting &lt;CODE&gt;stdout&lt;/CODE&gt;.  This means that you can pipe the output of your scripts to other things and Splunk will only index the final text that hits &lt;CODE&gt;stdout&lt;/CODE&gt;.  Any other output that goes anywhere else will be ignored by Splunk, unless of course you are writing it to file and have a different &lt;CODE&gt;[monitor://...]&lt;/CODE&gt; stanza looking for it, which would be strange.&lt;/P&gt;</description>
    <pubDate>Sun, 17 Nov 2019 01:07:18 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2019-11-17T01:07:18Z</dc:date>
    <item>
      <title>where does splunk store output of shell scripts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/where-does-splunk-store-output-of-shell-scripts/m-p/484167#M193404</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;On Splunk forwarders, we have few shell scripts in "SPLUNK_HOME/etc/apps/my_app/bin/" that are being run. Just wondering where do the outputs of these shell scripts store? Shell scripts don't have the output filename in them so I tried to look into "SPLUNK_HOME/var/log/splunk" but no luck. Are these outputs store in "*.dat" file which we can't read?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:58:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/where-does-splunk-store-output-of-shell-scripts/m-p/484167#M193404</guid>
      <dc:creator>batemanj</dc:creator>
      <dc:date>2020-09-30T02:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: where does splunk store output of shell scripts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/where-does-splunk-store-output-of-shell-scripts/m-p/484168#M193405</link>
      <description>&lt;P&gt;So you are doing scripted input? Splunk runs the script on the interval you specify and then indexes the output. I don't think there's an intermediate location.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2019 20:08:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/where-does-splunk-store-output-of-shell-scripts/m-p/484168#M193405</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2019-11-16T20:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: where does splunk store output of shell scripts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/where-does-splunk-store-output-of-shell-scripts/m-p/484169#M193406</link>
      <description>&lt;P&gt;If you are running &lt;CODE&gt;scripted inputs&lt;/CODE&gt;, then Splunk will index the output that it sees hitting &lt;CODE&gt;stdout&lt;/CODE&gt;.  This means that you can pipe the output of your scripts to other things and Splunk will only index the final text that hits &lt;CODE&gt;stdout&lt;/CODE&gt;.  Any other output that goes anywhere else will be ignored by Splunk, unless of course you are writing it to file and have a different &lt;CODE&gt;[monitor://...]&lt;/CODE&gt; stanza looking for it, which would be strange.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Nov 2019 01:07:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/where-does-splunk-store-output-of-shell-scripts/m-p/484169#M193406</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-11-17T01:07:18Z</dc:date>
    </item>
  </channel>
</rss>

