<?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 to configure Universal and Heavy forwarders to filter syslog data for VMware and Cisco traffic then route to their respective index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Universal-and-Heavy-forwarders-to-filter-syslog/m-p/50465#M9631</link>
    <description>&lt;P&gt;Can't you just set the index in inputs.conf ?&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2013 05:14:33 GMT</pubDate>
    <dc:creator>kenth</dc:creator>
    <dc:date>2013-03-21T05:14:33Z</dc:date>
    <item>
      <title>How to configure Universal and Heavy forwarders to filter syslog data for VMware and Cisco traffic then route to their respective index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Universal-and-Heavy-forwarders-to-filter-syslog/m-p/50460#M9626</link>
      <description>&lt;P&gt;I have the following config:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;1 Splunk Indexer&lt;/LI&gt;
&lt;LI&gt;1 Universal Forwarder&lt;/LI&gt;
&lt;LI&gt;1 Heavy Forwarder &lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Here is what is working...&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;I have the Splunk indexer receiving syslog information directly over UPD:514.&lt;/LI&gt;
&lt;LI&gt;I have the Splunk indexer also setup as a receiver.

&lt;UL&gt;
&lt;LI&gt;Currently receiving syslog data via port 9997 from the Universal and Heavy forwarders.&lt;/LI&gt;
&lt;/UL&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I am trying (unsuccessfully) to split VMware and Cisco syslogs being sent to either, the Universal or Heavy forwarder, and then route this data to their (VMware and Network) respective indexes on the Splunk indexer. &lt;/P&gt;

&lt;P&gt;I've tried the following config files on both forwarders.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;inputs.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = server27

[udp://:514]
index=test
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog]

TRANSFORMS-index = VMredirect,network
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[VMredirect]
REGEX = (partial hostname).*lyondell
DEST_KEY = _MetaData:Index
FORMAT = vmware

[Network]
REGEX = %s(ys|nmp)-
DEST_KEY = _MetaData:Index
FORMAT = network
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;outputs.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = receiverIP:9997

[tcpout-server://receiverIP:9997]

[syslog]
defaultGroup = default-syslog-group

[syslog:default-syslog-group]
server = receiverIP:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What am i doing wrong?? &lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2013 19:53:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Universal-and-Heavy-forwarders-to-filter-syslog/m-p/50460#M9626</guid>
      <dc:creator>pdherna1</dc:creator>
      <dc:date>2013-03-04T19:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Universal and Heavy forwarders to filter syslog data for VMware and Cisco traffic then route to their respective index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Universal-and-Heavy-forwarders-to-filter-syslog/m-p/50461#M9627</link>
      <description>&lt;P&gt;See this &lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F"&gt;wiki&lt;/A&gt; to see where you should put your settings.&lt;/P&gt;

&lt;P&gt;Universal forwarders can only mess with settings in the input stage. Your transforms will be ignored&lt;/P&gt;

&lt;P&gt;Since you'll need to put the transforms on the indexer anyway, it makes sense to keep your transforms in one place and skip the transforms on the heavy forwarder too.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2013 21:51:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Universal-and-Heavy-forwarders-to-filter-syslog/m-p/50461#M9627</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2013-03-04T21:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Universal and Heavy forwarders to filter syslog data for VMware and Cisco traffic then route to their respective index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Universal-and-Heavy-forwarders-to-filter-syslog/m-p/50462#M9628</link>
      <description>&lt;P&gt;Hmmmm, interesting cause i got the VMware traffic to redirect to its respective index on the Universal forwarder using the props and transforms.&lt;/P&gt;

&lt;P&gt;So on your statement about placing the transorms in one place (indexer only)....how would I get the traffic coming from the Heavy forwarder split and indexed accordingly?  Btw, i have devices pointing directly to the indexer and others pointing to the heavy forwarder.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2013 22:45:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Universal-and-Heavy-forwarders-to-filter-syslog/m-p/50462#M9628</guid>
      <dc:creator>pdherna1</dc:creator>
      <dc:date>2013-03-04T22:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Universal and Heavy forwarders to filter syslog data for VMware and Cisco traffic then route to their respective index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Universal-and-Heavy-forwarders-to-filter-syslog/m-p/50463#M9629</link>
      <description>&lt;P&gt;The heavy forwarder forwards to the indexer too right ? The indexer will see the hostname, so your transforms will have the data they need to set the index.&lt;/P&gt;

&lt;P&gt;(providing the data hits the indexer with a sourcetype of syslog)&lt;/P&gt;

&lt;P&gt;When you say devices pointing directly at the indexer, do you mean via a universal forwarder ? (or a tcp input / files / listening on udp 514 ) ?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2013 00:19:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Universal-and-Heavy-forwarders-to-filter-syslog/m-p/50463#M9629</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2013-03-05T00:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Universal and Heavy forwarders to filter syslog data for VMware and Cisco traffic then route to their respective index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Universal-and-Heavy-forwarders-to-filter-syslog/m-p/50464#M9630</link>
      <description>&lt;P&gt;1) OK, so i'm ruling out using the Universal forwarders.&lt;/P&gt;

&lt;P&gt;2) The heavy forwarder does forward to the indexer.  So you're saying that the props.conf and the transforms.conf on the indexer will filter and route the traffic from the heavy forwarder, so i only need those config files on the indexer, correct?&lt;/P&gt;

&lt;P&gt;3) To be clear, i have the indexer listening on UPD:514 and devices (VMware hosts and cisco networking equipment)pointed to the splunk indexer as their syslog server.  But for remote devices i have setup a Heavy forwarder to capture syslog traffic and forward to indexer (receiver).&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2013 17:16:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Universal-and-Heavy-forwarders-to-filter-syslog/m-p/50464#M9630</guid>
      <dc:creator>pdherna1</dc:creator>
      <dc:date>2013-03-05T17:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Universal and Heavy forwarders to filter syslog data for VMware and Cisco traffic then route to their respective index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Universal-and-Heavy-forwarders-to-filter-syslog/m-p/50465#M9631</link>
      <description>&lt;P&gt;Can't you just set the index in inputs.conf ?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2013 05:14:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Universal-and-Heavy-forwarders-to-filter-syslog/m-p/50465#M9631</guid>
      <dc:creator>kenth</dc:creator>
      <dc:date>2013-03-21T05:14:33Z</dc:date>
    </item>
  </channel>
</rss>

