<?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 split data to multiple indexes on the same indexer (index1,index2) from one input source from one Heavyforwar in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/602016#M104876</link>
    <description>&lt;P&gt;No. Splunk allows you to manipulate metadata during event ingestion.&lt;/P&gt;&lt;P&gt;Question is - where are you trying to do that.&lt;/P&gt;&lt;P&gt;1) Do you indeed have Heavy Forwarder or a Universal Forwarder on the machine you're reading the logfiles on?&lt;/P&gt;&lt;P&gt;2) Do you send the data directly to indexer(s)? Or do you have any intermediate forwarder(s) in the path? If so, what kind of forwarders are those?&lt;/P&gt;&lt;P&gt;3) Where are you putting those props/transforms? (on which component?)&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jun 2022 06:40:39 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2022-06-16T06:40:39Z</dc:date>
    <item>
      <title>How to split data to multiple indexes on the same indexer (index1,index2) from one input source from one Heavyforwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601774#M104839</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you please let me know&amp;nbsp;How to split data to multiple indexes on the same indexer (index1,index2) from one input source from one Heavyforwarder&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried with the following configuration but all the data going to once index that is defined in inputs.conf. If I remove index from inputs.conf all the events are going to main index.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in ad&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here my configuration and data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;INPUTS.CONF&lt;BR /&gt;======&lt;BR /&gt;[monitor:///opt/splunk/var/log/tesData]&lt;BR /&gt;disabled = false&lt;BR /&gt;host = heaveforwarder1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROPS.CONF&lt;BR /&gt;===========&lt;BR /&gt;[source::///opt/splunk/var/log/tesData]&lt;BR /&gt;TRANSFORMS-routing=vendorData,secureData&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TRANSFORMS.conf&lt;BR /&gt;==========&lt;BR /&gt;[vendorData]&lt;BR /&gt;REGEX=5617605039838520&lt;BR /&gt;DEST_KEY=_MetaData:Index&lt;BR /&gt;FORMAT=index1&lt;/P&gt;&lt;P&gt;[secureData]&lt;BR /&gt;REGEX=6794850084423218&lt;BR /&gt;DEST_KEY=_MetaData:Index&lt;BR /&gt;FORMAT=index2&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;testdata:&lt;/P&gt;&lt;P&gt;[08/June/2022:18:23:07] VendorID=5038 Code=C AcctID=5617605039838520&lt;BR /&gt;[08/June/2022:18:23:22] VendorID=9109 Code=A AcctID=6794850084423218&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 17:57:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601774#M104839</guid>
      <dc:creator>vksplunk1</dc:creator>
      <dc:date>2022-06-14T17:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to split data to multiple indexes on the same indexer (index1,index2) from one input source from one Heavyforwar</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601778#M104841</link>
      <description>&lt;P&gt;Here is my correct&amp;nbsp; INPUTS.conf.&amp;nbsp; Missing index in the earlier inouts.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;INPUTS.CONF&lt;BR /&gt;======&lt;BR /&gt;[monitor:///opt/splunk/var/log/testData]&lt;BR /&gt;disabled = false&lt;BR /&gt;host = Haveyforwarder1&lt;BR /&gt;index = index1&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 18:04:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601778#M104841</guid>
      <dc:creator>vksplunk1</dc:creator>
      <dc:date>2022-06-14T18:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to split data to multiple indexes on the same indexer (index1,index2) from one input source from one Heavyforwar</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601799#M104842</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232047"&gt;@vksplunk1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the docs:&lt;/P&gt;&lt;PRE&gt;The REGEX must have at least one capturing group, even if the FORMAT does
    not reference any capturing groups.&lt;/PRE&gt;&lt;P&gt;so it might be worth trying to add a capturing group to the regex?&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 21:56:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601799#M104842</guid>
      <dc:creator>jamie00171</dc:creator>
      <dc:date>2022-06-14T21:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to split data to multiple indexes on the same indexer (index1,index2) from one input source from one Heavyforwar</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601808#M104843</link>
      <description>&lt;P&gt;Generally, there's no way to "split" or "duplicate" an event while indexing. After initial input the event is processed as a whole. You can modify it - trim it, add to it, rewrite parts of it, modify its metadata but it's still within the single event. The only thing that can be "done multiple" with a single event is routing.&lt;/P&gt;&lt;P&gt;So theoretically you could send an event to both the original indexer(s) to one index and to the tcp (so called "syslog") output where it would be re-ingested and processed from the start. But it's a very ugly solution.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 04:45:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601808#M104843</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-06-15T04:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to split data to multiple indexes on the same indexer (index1,index2) from one input source from one Heavyforwar</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601810#M104845</link>
      <description>&lt;P class="lia-align-justify"&gt;Thank you for the response.&amp;nbsp; To make it clear, I am NOT trying to split the event. I am trying to send the events from the same source to same indexer but to a different INDEXE( index1 or index2 based on the regex )&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 04:59:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601810#M104845</guid>
      <dc:creator>vksplunk1</dc:creator>
      <dc:date>2022-06-15T04:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to split data to multiple indexes on the same indexer (index1,index2) from one input source from one Heavyforwar</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601858#M104849</link>
      <description>&lt;P&gt;It might be worth taking a look at this .conf presentation:&amp;nbsp;PLA1154C - Advanced pipeline configurations with INGEST_EVAL and CLONE_SOURCETYPE from 2020 .conf. The last example looks very similar to what you are trying to do, you can watch it here:&amp;nbsp;&lt;A href="https://conf.splunk.com/watch/conf-online.html" target="_blank"&gt;https://conf.splunk.com/watch/conf-online.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of the configuration for the examples is on github:&amp;nbsp;&lt;A href="https://github.com/silkyrich/ingest_eval_examples" target="_blank"&gt;https://github.com/silkyrich/ingest_eval_examples&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 08:23:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601858#M104849</guid>
      <dc:creator>jamie00171</dc:creator>
      <dc:date>2022-06-15T08:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to split data to multiple indexes on the same indexer (index1,index2) from one input source from one Heavyforwar</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601899#M104855</link>
      <description>&lt;P&gt;OK. You're right. I forgot about this wonderfully misnamed feature &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can indeed split the processing pipeline and reinject the same event back for another run.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 10:55:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601899#M104855</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-06-15T10:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to split data to multiple indexes on the same indexer (index1,index2) from one input source from one Heavyforwar</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601910#M104859</link>
      <description>&lt;P&gt;Thank you for the response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regardless of the REGEX&amp;nbsp; ins transforms.conf in HF, the data always sending to the index in inputs.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems like splunk not allowing to overide index specified in inpouts.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TRANSFORMS.conf&lt;BR /&gt;======&lt;BR /&gt;#[cdmops]&lt;BR /&gt;#REGEX=.*service=cdmops2.*&lt;BR /&gt;#DEST_KEY=_MetaData:Index&lt;BR /&gt;#FORMAT=cdmops&lt;/P&gt;&lt;P&gt;#[cdmops2]&lt;BR /&gt;#REGEX=.*service=cdmops2.*&lt;BR /&gt;#DEST_KEY=_MetaData:Index&lt;BR /&gt;#FORMAT=cdmops2&lt;/P&gt;&lt;P&gt;Data:&lt;BR /&gt;=====&lt;BR /&gt;2022/06/01 10:45:50 service=cdmops server=node3 score=50 seq=55041&lt;BR /&gt;2022/06/01 10:45:50 service=cdmops2 server=node1 score=17 seq=55042&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 13:22:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/601910#M104859</guid>
      <dc:creator>vksplunk1</dc:creator>
      <dc:date>2022-06-15T13:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to split data to multiple indexes on the same indexer (index1,index2) from one input source from one Heavyforwar</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/602016#M104876</link>
      <description>&lt;P&gt;No. Splunk allows you to manipulate metadata during event ingestion.&lt;/P&gt;&lt;P&gt;Question is - where are you trying to do that.&lt;/P&gt;&lt;P&gt;1) Do you indeed have Heavy Forwarder or a Universal Forwarder on the machine you're reading the logfiles on?&lt;/P&gt;&lt;P&gt;2) Do you send the data directly to indexer(s)? Or do you have any intermediate forwarder(s) in the path? If so, what kind of forwarders are those?&lt;/P&gt;&lt;P&gt;3) Where are you putting those props/transforms? (on which component?)&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 06:40:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-data-to-multiple-indexes-on-the-same-indexer-index1/m-p/602016#M104876</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-06-16T06:40:39Z</dc:date>
    </item>
  </channel>
</rss>

