<?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 duplicate logs isn't working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-duplicate-logs-isn-t-working/m-p/551944#M91600</link>
    <description>&lt;P&gt;I have the following inputs.conf in the UF for Splunk_TA_windows.&lt;/P&gt;&lt;P&gt;My intension is to send a copy of logs into two different indexers, I am aware of license re-use but I am ok with that. With the below config some logs are going to one index and other logs are going to other index.&lt;/P&gt;&lt;P&gt;When I compare the logs in index wineventlog and testsys they are not identical, the logs that I see in wineventlog are different and testsys are different. Looks like some are pushed to one index while other are pushed to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;###### Windows OS Logs ##############&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://Application]&lt;BR /&gt;disabled = 0&lt;BR /&gt;start_from = oldest&lt;BR /&gt;current_only = 0&lt;BR /&gt;checkpointInterval = 5&lt;BR /&gt;index = testsys&lt;BR /&gt;renderXml = false&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://Application]&lt;BR /&gt;disabled = 0&lt;BR /&gt;start_from = oldest&lt;BR /&gt;current_only = 0&lt;BR /&gt;checkpointInterval = 5&lt;BR /&gt;index = wineventlog&lt;BR /&gt;renderXml = false&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://Security]&lt;BR /&gt;disabled = 0&lt;BR /&gt;start_from = oldest&lt;BR /&gt;current_only = 0&lt;BR /&gt;evt_resolve_ad_obj = 1&lt;BR /&gt;checkpointInterval = 5&lt;BR /&gt;blacklist1 = EventCode="4662" Message="Object Type:(?!\s*groupPolicyContainer)"&lt;BR /&gt;blacklist2 = EventCode="566" Message="Object Type:(?!\s*groupPolicyContainer)"&lt;BR /&gt;index = testsys&lt;BR /&gt;renderXml = false&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://Security]&lt;BR /&gt;disabled = 0&lt;BR /&gt;start_from = oldest&lt;BR /&gt;current_only = 0&lt;BR /&gt;evt_resolve_ad_obj = 1&lt;BR /&gt;checkpointInterval = 5&lt;BR /&gt;blacklist1 = EventCode="4662" Message="Object Type:(?!\s*groupPolicyContainer)"&lt;BR /&gt;blacklist2 = EventCode="566" Message="Object Type:(?!\s*groupPolicyContainer)"&lt;BR /&gt;index = wineventlog&lt;BR /&gt;renderXml = false&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://System]&lt;BR /&gt;disabled = 0&lt;BR /&gt;start_from = oldest&lt;BR /&gt;current_only = 0&lt;BR /&gt;checkpointInterval = 5&lt;BR /&gt;index = testsys&lt;BR /&gt;renderXml = false&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://System]&lt;BR /&gt;disabled = 0&lt;BR /&gt;start_from = oldest&lt;BR /&gt;current_only = 0&lt;BR /&gt;checkpointInterval = 5&lt;BR /&gt;index = wineventlog&lt;BR /&gt;renderXml = false&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://Microsoft-Windows-DriverFrameworks-UserMode/Operational]&lt;BR /&gt;disabled = 0&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 05:18:47 GMT</pubDate>
    <dc:creator>splunky1</dc:creator>
    <dc:date>2021-05-18T05:18:47Z</dc:date>
    <item>
      <title>Splunk duplicate logs isn't working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-duplicate-logs-isn-t-working/m-p/551944#M91600</link>
      <description>&lt;P&gt;I have the following inputs.conf in the UF for Splunk_TA_windows.&lt;/P&gt;&lt;P&gt;My intension is to send a copy of logs into two different indexers, I am aware of license re-use but I am ok with that. With the below config some logs are going to one index and other logs are going to other index.&lt;/P&gt;&lt;P&gt;When I compare the logs in index wineventlog and testsys they are not identical, the logs that I see in wineventlog are different and testsys are different. Looks like some are pushed to one index while other are pushed to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;###### Windows OS Logs ##############&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://Application]&lt;BR /&gt;disabled = 0&lt;BR /&gt;start_from = oldest&lt;BR /&gt;current_only = 0&lt;BR /&gt;checkpointInterval = 5&lt;BR /&gt;index = testsys&lt;BR /&gt;renderXml = false&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://Application]&lt;BR /&gt;disabled = 0&lt;BR /&gt;start_from = oldest&lt;BR /&gt;current_only = 0&lt;BR /&gt;checkpointInterval = 5&lt;BR /&gt;index = wineventlog&lt;BR /&gt;renderXml = false&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://Security]&lt;BR /&gt;disabled = 0&lt;BR /&gt;start_from = oldest&lt;BR /&gt;current_only = 0&lt;BR /&gt;evt_resolve_ad_obj = 1&lt;BR /&gt;checkpointInterval = 5&lt;BR /&gt;blacklist1 = EventCode="4662" Message="Object Type:(?!\s*groupPolicyContainer)"&lt;BR /&gt;blacklist2 = EventCode="566" Message="Object Type:(?!\s*groupPolicyContainer)"&lt;BR /&gt;index = testsys&lt;BR /&gt;renderXml = false&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://Security]&lt;BR /&gt;disabled = 0&lt;BR /&gt;start_from = oldest&lt;BR /&gt;current_only = 0&lt;BR /&gt;evt_resolve_ad_obj = 1&lt;BR /&gt;checkpointInterval = 5&lt;BR /&gt;blacklist1 = EventCode="4662" Message="Object Type:(?!\s*groupPolicyContainer)"&lt;BR /&gt;blacklist2 = EventCode="566" Message="Object Type:(?!\s*groupPolicyContainer)"&lt;BR /&gt;index = wineventlog&lt;BR /&gt;renderXml = false&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://System]&lt;BR /&gt;disabled = 0&lt;BR /&gt;start_from = oldest&lt;BR /&gt;current_only = 0&lt;BR /&gt;checkpointInterval = 5&lt;BR /&gt;index = testsys&lt;BR /&gt;renderXml = false&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://System]&lt;BR /&gt;disabled = 0&lt;BR /&gt;start_from = oldest&lt;BR /&gt;current_only = 0&lt;BR /&gt;checkpointInterval = 5&lt;BR /&gt;index = wineventlog&lt;BR /&gt;renderXml = false&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;[WinEventLog://Microsoft-Windows-DriverFrameworks-UserMode/Operational]&lt;BR /&gt;disabled = 0&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 05:18:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-duplicate-logs-isn-t-working/m-p/551944#M91600</guid>
      <dc:creator>splunky1</dc:creator>
      <dc:date>2021-05-18T05:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk duplicate logs isn't working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-duplicate-logs-isn-t-working/m-p/551962#M91606</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234489"&gt;@splunky1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Splunk doens't index twice the same log so the solution you tried doesn't work.&lt;/P&gt;&lt;P&gt;If you want to send some logs to two indexes (with double license consuption!) you have to follow the steps described at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Route_inputs_to_specific_indexers_based_on_the_data_input" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Route_inputs_to_specific_indexers_based_on_the_data_input&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ùIn few words, you have to insert in outputs.conf two destinations&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[tcpout:systemGroup]
server=server1:9997

[tcpout:applicationGroup]
server=server2:9997&lt;/LI-CODE&gt;&lt;P&gt;and in inputs.conf say which logs must be sent to only one or both the indexes:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor://.../file1.log]
_TCP_ROUTING = systemGroup

[monitor://.../file2.log]
_TCP_ROUTING = applicationGroup&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 06:41:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-duplicate-logs-isn-t-working/m-p/551962#M91606</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-18T06:41:24Z</dc:date>
    </item>
  </channel>
</rss>

