<?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: Same log different indexers and index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Solved-Same-log-different-indexers-and-index/m-p/547865#M91144</link>
    <description>&lt;P&gt;&lt;STRONG&gt;SOLVED:&amp;nbsp;&lt;/STRONG&gt;in inputs.conf just specify the sourcetype or the source in order to let indexer intercept data and apply the transforms' stanza.&lt;/P&gt;&lt;P&gt;So my inputs.conf is like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[WinEventLog://Security]
index=a
sourcetype=WinEventLog
source=WinEventLog:Security

_TCP_ROUTING=group a, group b&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Apr 2021 10:24:25 GMT</pubDate>
    <dc:creator>biagiodipalma</dc:creator>
    <dc:date>2021-04-14T10:24:25Z</dc:date>
    <item>
      <title>Solved: Same log different indexers and index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Solved-Same-log-different-indexers-and-index/m-p/547766#M91137</link>
      <description>&lt;P&gt;hi there,&lt;/P&gt;&lt;P&gt;I have some machines that collect Security logs from Windows. The universal forwarder on machines have this kind of conf:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[WinEventLog://Security]
index=a
_TCP_ROUTING=indexer1, indexer2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indexer1 and indexer2 are part of two different Splunk Enterprise installations: for indexer1 the 'a' index is correct, but the indexer2 puts security logs on index 'b'.&lt;/P&gt;&lt;P&gt;So I need to change my index on indexers or on heavy forwarders. How can I do this?&lt;BR /&gt;&lt;BR /&gt;##########&lt;BR /&gt;I've tried this on indexer:&lt;BR /&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[source::WinEventLog:Security]
TRANSFORMS-indexing1 = idx_change&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[idx_change]
SOURCE_KEY=_raw
REGEX=.
DEST_KEY=_Metadata:Index
FORMAT=b&lt;/LI-CODE&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>Wed, 14 Apr 2021 10:25:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Solved-Same-log-different-indexers-and-index/m-p/547766#M91137</guid>
      <dc:creator>biagiodipalma</dc:creator>
      <dc:date>2021-04-14T10:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Same log different indexers and index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Solved-Same-log-different-indexers-and-index/m-p/547776#M91138</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230869"&gt;@biagiodipalma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share the outputs.conf configuration?&lt;/P&gt;&lt;P&gt;I need that configuration to understand the forwarder routing&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 17:47:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Solved-Same-log-different-indexers-and-index/m-p/547776#M91138</guid>
      <dc:creator>aasabatini</dc:creator>
      <dc:date>2021-04-13T17:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Same log different indexers and index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Solved-Same-log-different-indexers-and-index/m-p/547788#M91139</link>
      <description>&lt;P&gt;On tre Forwarder the outputs.conf is like this:&lt;/P&gt;&lt;P&gt;[tcpout:groupA]&lt;BR /&gt;server=indexer1:9997&lt;/P&gt;&lt;P&gt;[tcpout:groupB]&lt;BR /&gt;server=indexer2a:9997, indexer2b:9997&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;above I mentioned groupA as indexer1 and groupB as indexer2: groupB is made of two indexers in cluster&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 20:47:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Solved-Same-log-different-indexers-and-index/m-p/547788#M91139</guid>
      <dc:creator>biagiodipalma</dc:creator>
      <dc:date>2021-04-13T20:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Same log different indexers and index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Solved-Same-log-different-indexers-and-index/m-p/547865#M91144</link>
      <description>&lt;P&gt;&lt;STRONG&gt;SOLVED:&amp;nbsp;&lt;/STRONG&gt;in inputs.conf just specify the sourcetype or the source in order to let indexer intercept data and apply the transforms' stanza.&lt;/P&gt;&lt;P&gt;So my inputs.conf is like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[WinEventLog://Security]
index=a
sourcetype=WinEventLog
source=WinEventLog:Security

_TCP_ROUTING=group a, group b&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 10:24:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Solved-Same-log-different-indexers-and-index/m-p/547865#M91144</guid>
      <dc:creator>biagiodipalma</dc:creator>
      <dc:date>2021-04-14T10:24:25Z</dc:date>
    </item>
  </channel>
</rss>

