<?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: pushing data to Universal forwarder from .Net in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/pushing-data-to-Universal-forwarder-from-Net/m-p/102214#M21443</link>
    <description>&lt;P&gt;I was able to find the answer for my question:&lt;BR /&gt;
We need to add the following stanza in inputs.conf on the system where Universal Forwarder is installed. &lt;/P&gt;

&lt;P&gt;[tcp://33333]&lt;BR /&gt;
sourcetype=log4net&lt;BR /&gt;
disabled=false&lt;/P&gt;

&lt;P&gt;On a windows based system inputs.conf can be found at the below location&lt;BR /&gt;
$SPLUNK_HOME/etc/apps/MSICreated/local/&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jul 2012 14:44:27 GMT</pubDate>
    <dc:creator>raghu_vaidya</dc:creator>
    <dc:date>2012-07-19T14:44:27Z</dc:date>
    <item>
      <title>pushing data to Universal forwarder from .Net</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/pushing-data-to-Universal-forwarder-from-Net/m-p/102213#M21442</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I want to push the data to Universal forwarder, so that forwarder can forward the data to the Indexer.&lt;BR /&gt;
I have Splunk installed on Server_1 and on Server_2 I have universal forwarder installed.&lt;BR /&gt;
I am executing my .net code from Server_2 which posts a simple text message to forwarder and forwarder needs to push this data to Server_1. How can this be done? what all changes needs to be done to the .conf files?&lt;/P&gt;

&lt;P&gt;I have already added Receiver on Server_1 and able to get Windows Event log data from Server_2 - this proves that the forwarder is actually forwarding the data to Server_1&lt;/P&gt;

&lt;P&gt;I am able to create a new tcp port using Data Inputs-&amp;gt;Tcp option on Server_1 and from Server_2 using my .net code I am able to post the data, but now, instead of posting it directly to Server_1 I want to post it to universal forwarder on Server_2 so that universal forwarder takes care of forwarding the data.&lt;BR /&gt;
Hope, I am clear with my requirement &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:06:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/pushing-data-to-Universal-forwarder-from-Net/m-p/102213#M21442</guid>
      <dc:creator>raghu_vaidya</dc:creator>
      <dc:date>2020-09-28T12:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: pushing data to Universal forwarder from .Net</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/pushing-data-to-Universal-forwarder-from-Net/m-p/102214#M21443</link>
      <description>&lt;P&gt;I was able to find the answer for my question:&lt;BR /&gt;
We need to add the following stanza in inputs.conf on the system where Universal Forwarder is installed. &lt;/P&gt;

&lt;P&gt;[tcp://33333]&lt;BR /&gt;
sourcetype=log4net&lt;BR /&gt;
disabled=false&lt;/P&gt;

&lt;P&gt;On a windows based system inputs.conf can be found at the below location&lt;BR /&gt;
$SPLUNK_HOME/etc/apps/MSICreated/local/&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2012 14:44:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/pushing-data-to-Universal-forwarder-from-Net/m-p/102214#M21443</guid>
      <dc:creator>raghu_vaidya</dc:creator>
      <dc:date>2012-07-19T14:44:27Z</dc:date>
    </item>
  </channel>
</rss>

