<?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 Splunk is not Indexing Scripted Input Data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-Indexing-Scripted-Input-Data/m-p/426877#M95076</link>
    <description>&lt;P&gt;Splunk is not indexing the data through the Scripted input. &lt;/P&gt;

&lt;P&gt;The input is working for the on-premise servers, the data input is through a universal forwarder. The same setup being configured, however, it is not working for the new host.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2019 04:13:41 GMT</pubDate>
    <dc:creator>rsantoso_splunk</dc:creator>
    <dc:date>2019-06-17T04:13:41Z</dc:date>
    <item>
      <title>Splunk is not Indexing Scripted Input Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-Indexing-Scripted-Input-Data/m-p/426877#M95076</link>
      <description>&lt;P&gt;Splunk is not indexing the data through the Scripted input. &lt;/P&gt;

&lt;P&gt;The input is working for the on-premise servers, the data input is through a universal forwarder. The same setup being configured, however, it is not working for the new host.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 04:13:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-Indexing-Scripted-Input-Data/m-p/426877#M95076</guid>
      <dc:creator>rsantoso_splunk</dc:creator>
      <dc:date>2019-06-17T04:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk is not Indexing Scripted Input Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-Indexing-Scripted-Input-Data/m-p/426878#M95077</link>
      <description>&lt;P&gt;&lt;STRONG&gt;1.) To list the non-internal indexes and    non-internal indexes&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;a. To list of all non-internal indexes:&lt;BR /&gt;
| eventcount summarize=false index=* | dedup index | fields index&lt;/P&gt;

&lt;P&gt;b. To list of all sourcetype within the non-internal indexes:&lt;BR /&gt;
| tstats count where index=* by index, sourcetype&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;2.) inputs.conf&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;a. The configuration for scripts needs to be in formatted with script rather than monitor &lt;BR /&gt;
b. The script need to be located at the $SPLUNK_HOME/bin/scripts&lt;BR /&gt;
Example: &lt;BR /&gt;
[script:///opt/splunkforwarder/bin/scripts/client-stats.sh] &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;3.) The scripts need the environment setup and the jar file to run.&lt;/STRONG&gt; &lt;BR /&gt;
Copy the setup env file and the jar file to the $SPLUNK_HOME/bin/scripts. &lt;BR /&gt;
Change the permission and ownership of the file accordingly.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 04:14:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-Indexing-Scripted-Input-Data/m-p/426878#M95077</guid>
      <dc:creator>rsantoso_splunk</dc:creator>
      <dc:date>2019-06-17T04:14:13Z</dc:date>
    </item>
  </channel>
</rss>

