<?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 can we parse data from different hosts and direct it to the indexers? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599507#M104544</link>
    <description>&lt;P&gt;Please explain your use case.&amp;nbsp; Why are you parsing the data instead of letting Splunk do it?&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2022 23:57:15 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-05-26T23:57:15Z</dc:date>
    <item>
      <title>How can we parse data from different hosts and direct it to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599498#M104543</link>
      <description>&lt;P&gt;We are receiving data via a diode. However, event logs are from multiple hosts. How can we parse data from different hosts and direct it to the indexers?&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 20:38:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599498#M104543</guid>
      <dc:creator>radparik</dc:creator>
      <dc:date>2022-05-26T20:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can we parse data from different hosts and direct it to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599507#M104544</link>
      <description>&lt;P&gt;Please explain your use case.&amp;nbsp; Why are you parsing the data instead of letting Splunk do it?&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 23:57:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599507#M104544</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-26T23:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can we parse data from different hosts and direct it to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599891#M104597</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a diode between two Splunk environments (that is the design). Right now, the data flow is-&lt;/P&gt;&lt;P&gt;HF-&amp;gt;Diode-&amp;gt;HF-&amp;gt;IDX&lt;/P&gt;&lt;P&gt;Unfortunately, the diode forwards data from all hosts into one file in raw format.&amp;nbsp; Is there a way to parse data from that one file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 13:07:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599891#M104597</guid>
      <dc:creator>radparik</dc:creator>
      <dc:date>2022-05-31T13:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can we parse data from different hosts and direct it to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599896#M104598</link>
      <description>&lt;P&gt;It simply depends on what is in your events. If the events in the stream are indistinguishable between hosts and the diode itself isn't able to add any kind of metadata how would you decide where to send which events?&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 13:20:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599896#M104598</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-31T13:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can we parse data from different hosts and direct it to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599898#M104599</link>
      <description>&lt;P&gt;Raw logs include the host name in the beginning - no metadata from the diode itself. Would that be enough to send to Indexers for parsing?&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 13:28:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599898#M104599</guid>
      <dc:creator>radparik</dc:creator>
      <dc:date>2022-05-31T13:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can we parse data from different hosts and direct it to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599919#M104606</link>
      <description>&lt;P&gt;Heavy forwarders communicate using Splunk-to-Splunk protocol.&amp;nbsp; Is that the "raw format" to which you refer?&amp;nbsp; If so, no action is needed on your part.&amp;nbsp; The receiving HF understands the protocol and will process the data as necessary.&lt;/P&gt;&lt;P&gt;If, however, the diode is modifying the data then it must be prevented from doing that.&lt;/P&gt;&lt;P&gt;P.S.&amp;nbsp; Why is the second HF there?&amp;nbsp; What value does it add in this environment?&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 14:26:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599919#M104606</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-31T14:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can we parse data from different hosts and direct it to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599922#M104608</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234585"&gt;@radparik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes hostname is good enough just for clarity do you want to assign different sourcetype for different hosts or are you creating different indexes per server(which is not good idea)&lt;/P&gt;&lt;P&gt;whats your use case here&amp;nbsp;&lt;/P&gt;&lt;P&gt;Splunk can route events to a specific index based on the hostnames. below is a snapshot of&amp;nbsp; props.conf as well as the transforms.conf stanza where you can perform the index routing that you described.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.6/Admin/Transformsconf" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.6/Admin/Transformsconf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Props.conf&amp;nbsp;&lt;/P&gt;&lt;P&gt;description = index where data is to be ingested&lt;BR /&gt;TRANSFORMS-theindex=theindexbyhost&lt;/P&gt;&lt;P&gt;Transforms.conf&lt;/P&gt;&lt;P&gt;[theindexbyhost]&lt;BR /&gt;SOURCE_KEY = MetaData:Host&lt;BR /&gt;REGEX = regexto match&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;if it helps karma points are appreciated/if it resolves acceptance as solution is appreciated&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 14:30:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599922#M104608</guid>
      <dc:creator>venky1544</dc:creator>
      <dc:date>2022-05-31T14:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can we parse data from different hosts and direct it to the indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599970#M104614</link>
      <description>&lt;P&gt;I was asking about metadata concerning source host. The diode itself is not important in this context (apart from the fact that you can't differentiate on source IP). The typical setup that I've seen which involved diode used syslog over UDP since it's easiest "diodeable" form of transport - it's inherently unidirectional. Are you using it or other transport/protocol? Do you really have a Heavy Forwarder inside the diode-separated environment? From my experience I seriously doubt it. If you indeed use syslog/UDP it's easiest to set up some syslog server (sc4s, rsyslog) and write proper rules for it so it adds proper metadata to the events (like index, source, sourcetype, optionally other indexed fields) and sends it to HEC on your HF. That's what I would do.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 18:17:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-parse-data-from-different-hosts-and-direct-it-to-the/m-p/599970#M104614</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-31T18:17:05Z</dc:date>
    </item>
  </channel>
</rss>

