<?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: Log data separation according to host IP address in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Log-data-separation-according-to-host-IP-address/m-p/692998#M115197</link>
    <description>&lt;P&gt;That's a slightly complicated setup. Unfortunately the UFs can send data "anywhere". You can try to fight it to some extent but in general with s2s you have the metadata field specified on the sending end and you don't have any network-level metadata. To some extent you could mitigate it with sending from UF with s2s over http (using httpout) and enabling indexes validation with s2s_indexes_validation option for specific HEC tokens. (but it works only with sufficiently recent Splunk versions).&lt;/P&gt;&lt;P&gt;As for the syslog data, I'd suggest doing the filtering and rerouting on the SC4S layer.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 08:39:03 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2024-07-11T08:39:03Z</dc:date>
    <item>
      <title>Log data separation according to host IP address</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-data-separation-according-to-host-IP-address/m-p/692970#M115195</link>
      <description>&lt;P&gt;Our scenario in new deployment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;One indexer server (Windows) (+one separate Windows server as search head)&lt;/LI&gt;&lt;LI&gt;One SC4S in Linux&lt;/LI&gt;&lt;LI&gt;Two customers&lt;/LI&gt;&lt;LI&gt;One customer with Windows / Linux servers, Win servers Security log data sent to Indexer with Universal forwarder installed to all servers, Linux servers sec log data sent to SC4S and then to indexer&lt;/LI&gt;&lt;LI&gt;Second customer with Windows / Linux servers, ESX, NW devices etc. Win servers log data sent to indexer with Universal forwarder installed to all servers, Linux and other sec log data sent to SC4S and then to indexer.&lt;/LI&gt;&lt;LI&gt;Both customers Universal forwarder data coming to the same default port 9997, SC4S sending to 514&lt;/LI&gt;&lt;LI&gt;Data from customers should be separated to two different indexes&lt;/LI&gt;&lt;LI&gt;Only differentiating thing in these customers is the IP address segments where the data is coming in.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I thought, that separating log data according to the sending devices ip- address would be a quite straight forward scenario, but so far I have tested with several options in props / transforms suggested in the community pages and read documentation, and none of the solutions have been successful, all data is deposited to the “main” index.&lt;/P&gt;&lt;P&gt;If I put in indexes.conf defaultDB = &amp;lt;index name&amp;gt;, the logs are sent to this index, so the index itself is working and I can do searches in that index, but then all data would go to the same index…&lt;/P&gt;&lt;P&gt;What then is the correct way to separate data into two different indexes according to the sending devices IP- address or better still according to IP segment?&lt;/P&gt;&lt;P&gt;As I’m really new to Splunk, I do appreciate all advice if somebody here has done something similar and has insight on how to accomplish such a feat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 06:56:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-data-separation-according-to-host-IP-address/m-p/692970#M115195</guid>
      <dc:creator>Sepe</dc:creator>
      <dc:date>2024-07-11T06:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Log data separation according to host IP address</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-data-separation-according-to-host-IP-address/m-p/692998#M115197</link>
      <description>&lt;P&gt;That's a slightly complicated setup. Unfortunately the UFs can send data "anywhere". You can try to fight it to some extent but in general with s2s you have the metadata field specified on the sending end and you don't have any network-level metadata. To some extent you could mitigate it with sending from UF with s2s over http (using httpout) and enabling indexes validation with s2s_indexes_validation option for specific HEC tokens. (but it works only with sufficiently recent Splunk versions).&lt;/P&gt;&lt;P&gt;As for the syslog data, I'd suggest doing the filtering and rerouting on the SC4S layer.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 08:39:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-data-separation-according-to-host-IP-address/m-p/692998#M115197</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-07-11T08:39:03Z</dc:date>
    </item>
  </channel>
</rss>

