<?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 send visual studio application log to Splunk Enterprise instance? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-visual-studio-application-log-to-Splunk-Enterprise/m-p/303463#M57288</link>
    <description>&lt;P&gt;I'm assuming Splunk is installed on a separate server that visual studio is installed on?&lt;/P&gt;

&lt;P&gt;If so then install a Splunk Universal Forwarder on the server with visual studio. Once installed, go back to the server where Splunk is installed and configure it to receive traffic via port 9997 by &lt;CODE&gt;Settings &amp;gt; Forwarding and Receiving &amp;gt; Configure Receiving &amp;gt; New &amp;gt; Add 9997&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You can also create a new index while on this server (I'd recommend doing so)&lt;/P&gt;

&lt;P&gt;Now go back to the server where you installed the Splunk forwarder, go under &lt;CODE&gt;$SPLUNK_HOME/etc/apps/search/local&lt;/CODE&gt; and create 2 files.. The first file is called &lt;CODE&gt;inputs.conf&lt;/CODE&gt; and the second file will be called &lt;CODE&gt;outputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://PATH_TO_YOUR_LOG_FILE]
index=YOUR_INDEX_NAME
sourcetype=YOUR_SOURCETYPE
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
disabled = false
server = YOUR_INDEXER_IP_ADDRESS:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Restart Splunkd on the forwarder after making these changes by going to &lt;CODE&gt;$SPLUNK_HOME/bin&lt;/CODE&gt; and &lt;CODE&gt;./splunk restart&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Getstartedwithgettingdatain"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Getstartedwithgettingdatain&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Mar 2017 17:13:56 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2017-03-28T17:13:56Z</dc:date>
    <item>
      <title>How to send visual studio application log to Splunk Enterprise instance?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-visual-studio-application-log-to-Splunk-Enterprise/m-p/303462#M57287</link>
      <description>&lt;P&gt;I have installed Splunk Enterprise. Need to know the basic steps to send log data from my standalone visual studio application.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 16:41:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-visual-studio-application-log-to-Splunk-Enterprise/m-p/303462#M57287</guid>
      <dc:creator>j_rajesh</dc:creator>
      <dc:date>2017-03-28T16:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to send visual studio application log to Splunk Enterprise instance?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-visual-studio-application-log-to-Splunk-Enterprise/m-p/303463#M57288</link>
      <description>&lt;P&gt;I'm assuming Splunk is installed on a separate server that visual studio is installed on?&lt;/P&gt;

&lt;P&gt;If so then install a Splunk Universal Forwarder on the server with visual studio. Once installed, go back to the server where Splunk is installed and configure it to receive traffic via port 9997 by &lt;CODE&gt;Settings &amp;gt; Forwarding and Receiving &amp;gt; Configure Receiving &amp;gt; New &amp;gt; Add 9997&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You can also create a new index while on this server (I'd recommend doing so)&lt;/P&gt;

&lt;P&gt;Now go back to the server where you installed the Splunk forwarder, go under &lt;CODE&gt;$SPLUNK_HOME/etc/apps/search/local&lt;/CODE&gt; and create 2 files.. The first file is called &lt;CODE&gt;inputs.conf&lt;/CODE&gt; and the second file will be called &lt;CODE&gt;outputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://PATH_TO_YOUR_LOG_FILE]
index=YOUR_INDEX_NAME
sourcetype=YOUR_SOURCETYPE
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
disabled = false
server = YOUR_INDEXER_IP_ADDRESS:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Restart Splunkd on the forwarder after making these changes by going to &lt;CODE&gt;$SPLUNK_HOME/bin&lt;/CODE&gt; and &lt;CODE&gt;./splunk restart&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Getstartedwithgettingdatain"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Getstartedwithgettingdatain&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 17:13:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-visual-studio-application-log-to-Splunk-Enterprise/m-p/303463#M57288</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-03-28T17:13:56Z</dc:date>
    </item>
  </channel>
</rss>

