<?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 does UF handle both metrics and event data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-does-UF-handle-both-metrics-and-event-data/m-p/332355#M61511</link>
    <description>&lt;P&gt;Do not use &lt;CODE&gt;tcp&lt;/CODE&gt; for sending data UF-&amp;gt;IDX, use &lt;CODE&gt;splunktcp&lt;/CODE&gt; / &lt;CODE&gt;splunktcp-ssl&lt;/CODE&gt;. One connection of that can send data to any number of indexes as defined in the UF's inputs.conf.&lt;/P&gt;</description>
    <pubDate>Sat, 09 Dec 2017 22:55:48 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2017-12-09T22:55:48Z</dc:date>
    <item>
      <title>how does UF handle both metrics and event data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-does-UF-handle-both-metrics-and-event-data/m-p/332354#M61510</link>
      <description>&lt;P&gt;I have my UF and indexer set up and what I want to do is sending both metrics and event data from UF to indexer.&lt;BR /&gt;
from my understanding what I could do is set up two stanzas in &lt;STRONG&gt;inputs.conf&lt;/STRONG&gt; of indexer like below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcp://9997]
connection_host = dns
index = event_index
sourcetype = syslog

[tcp://9998]
connection_host = dns
index = metric_index
sourcetype = syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and the idea situation would be sending metric data to &lt;CODE&gt;&amp;lt;indexer_ip&amp;gt;:9998&lt;/CODE&gt; and event data to &lt;CODE&gt;&amp;lt;indexer_ip&amp;gt;:9997&lt;/CODE&gt; separately&lt;BR /&gt;
but the problem is it seems impossible to achieve this through configuring &lt;STRONG&gt;outputs.conf&lt;/STRONG&gt; (I could send both data to both ports using the data cloning technique mentioned in doc, but that's not ideal)&lt;/P&gt;

&lt;P&gt;So is there a way to achieve this separation of data forwarding?&lt;/P&gt;</description>
      <pubDate>Sat, 09 Dec 2017 01:04:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-does-UF-handle-both-metrics-and-event-data/m-p/332354#M61510</guid>
      <dc:creator>junyuw</dc:creator>
      <dc:date>2017-12-09T01:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: how does UF handle both metrics and event data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-does-UF-handle-both-metrics-and-event-data/m-p/332355#M61511</link>
      <description>&lt;P&gt;Do not use &lt;CODE&gt;tcp&lt;/CODE&gt; for sending data UF-&amp;gt;IDX, use &lt;CODE&gt;splunktcp&lt;/CODE&gt; / &lt;CODE&gt;splunktcp-ssl&lt;/CODE&gt;. One connection of that can send data to any number of indexes as defined in the UF's inputs.conf.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Dec 2017 22:55:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-does-UF-handle-both-metrics-and-event-data/m-p/332355#M61511</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2017-12-09T22:55:48Z</dc:date>
    </item>
  </channel>
</rss>

