<?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 configure a universal forwarder to send data to a specific index on our Splunk Cloud instance? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203131#M40139</link>
    <description>&lt;P&gt;Hey DBCase,&lt;/P&gt;

&lt;P&gt;Make sure you have created the index under Settings --&amp;gt; Indexes before you send the data. If not, Splunk will drop the data and you should see an error on your GUI. Something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Received event for unconfigured/disabled/deleted index=top10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let us know!&lt;BR /&gt;
-K&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2016 17:55:41 GMT</pubDate>
    <dc:creator>khourihan_splun</dc:creator>
    <dc:date>2016-04-14T17:55:41Z</dc:date>
    <item>
      <title>How to configure a universal forwarder to send data to a specific index on our Splunk Cloud instance?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203129#M40137</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to send data to a specific index on our Splunk Cloud instance&lt;/P&gt;

&lt;P&gt;I've tried several methods found in answers.splunk.com but still with no apparent success.&lt;/P&gt;

&lt;P&gt;What I've tried:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunkforwarder/bin/splunk add monitor /home/oracle/workdir/*csv -index top10
Parameters must be in the form '-parameter value'

# cat /opt/splunkforwarder/etc/system/local/inputs.conf
[default]
host = hostname omitted but it is there

"The code block has been omitted but it is there"

[monitor:///home/oracle/workdir/*csv]
sourcetype=csv
index=top10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The latter one was followed by a restart of the forwarder.&lt;/P&gt;

&lt;P&gt;In Splunk, an all time search of &lt;CODE&gt;index=top10&lt;/CODE&gt; yields 0 results.  Not sure what I'm missing.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:07:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203129#M40137</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-04-14T17:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a universal forwarder to send data to a specific index on our Splunk Cloud instance?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203130#M40138</link>
      <description>&lt;P&gt;What's your outputs.conf? Is the data in your main index?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:52:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203130#M40138</guid>
      <dc:creator>ryandg</dc:creator>
      <dc:date>2016-04-14T17:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a universal forwarder to send data to a specific index on our Splunk Cloud instance?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203131#M40139</link>
      <description>&lt;P&gt;Hey DBCase,&lt;/P&gt;

&lt;P&gt;Make sure you have created the index under Settings --&amp;gt; Indexes before you send the data. If not, Splunk will drop the data and you should see an error on your GUI. Something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Received event for unconfigured/disabled/deleted index=top10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let us know!&lt;BR /&gt;
-K&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 17:55:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203131#M40139</guid>
      <dc:creator>khourihan_splun</dc:creator>
      <dc:date>2016-04-14T17:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a universal forwarder to send data to a specific index on our Splunk Cloud instance?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203132#M40140</link>
      <description>&lt;P&gt;What user are you running the Splunk Forwarder as? Does that user have read access to /home/oracle/workdir/*csv?&lt;/P&gt;

&lt;P&gt;Look at $SPLUNK_HOME/var/log/splunk/splunkd.log for possible ERROR or WARN messages that may indicate why data is not being picked up and sent to the indexer. Also, if it's a very large file you might just have to give it a few minutes to process. &lt;/P&gt;

&lt;P&gt;You can try changing your inputs.conf to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [monitor:///home/oracle/workdir/]
 whitelist = \.csv$
 sourcetype=csv
 index=top10
 crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Remember to restart Splunk after updating inputs.conf. Also, ensure that your outputs.conf is configured and pointed to your Cloud indexers, as well as that you have network connectivity between your forwarder and the Cloud indexers.&lt;/P&gt;

&lt;P&gt;As others have mentioned, make sure that the index you are sending to has been created in your Cloud instance as well.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 18:21:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203132#M40140</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2016-04-14T18:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a universal forwarder to send data to a specific index on our Splunk Cloud instance?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203133#M40141</link>
      <description>&lt;P&gt;Hi All,  Thanks for the hints!&lt;/P&gt;

&lt;P&gt;splunkd.log has a warning  Not sure what it means though....&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;04-14-2016 13:47:49.355 -0500 WARN  CsvLineBreaker - CSV StreamId: 5516642215406685943 has extra incorrect columns in certain fields. - data_source="/opt/splunkforwarder/var/log/splunk/metrics.log", data_host="datamine.icontrol.com", data_sourcetype="csv"
04-14-2016 13:47:49.358 -0500 WARN  CsvLineBreaker - CSV StreamId: 15295132286795016394 has extra incorrect columns in certain fields. - data_source="/opt/splunkforwarder/var/log/splunk/splunkd.log", data_host="datamine.icontrol.com", data_sourcetype="csv"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The user that I'm running as is root&lt;/P&gt;

&lt;P&gt;The index had been created beforehand&lt;BR /&gt;
top10   Edit Delete Disable _cluster_admin  1 MB    500 GB  0&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:25:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203133#M40141</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2020-09-29T09:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a universal forwarder to send data to a specific index on our Splunk Cloud instance?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203134#M40142</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;[root@datamine splunkforwarder]# cat /opt/splunkforwarder/etc/system/local/inputs.conf
[default]
host = datamine.icontrol.com

[monitor:///home/oracle/workdir/*csv]
whitelist = \.csv$
sourcetype=csv
index=top10
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Apr 2016 19:28:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203134#M40142</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-04-14T19:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a universal forwarder to send data to a specific index on our Splunk Cloud instance?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203135#M40143</link>
      <description>&lt;P&gt;Found it!!!  &lt;CODE&gt;(*&amp;amp;)(&amp;amp;@#$&amp;amp;)(*&amp;amp;&lt;/CODE&gt; syntax error in inputs.conf&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 20:59:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203135#M40143</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-04-14T20:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a universal forwarder to send data to a specific index on our Splunk Cloud instance?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203136#M40144</link>
      <description>&lt;P&gt;Hi @dbcase glad you found the issue! Could you please choose Accept Answer for whichever response helped you the most in getting this resolved?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 22:41:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-a-universal-forwarder-to-send-data-to-a/m-p/203136#M40144</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2016-04-14T22:41:29Z</dc:date>
    </item>
  </channel>
</rss>

