<?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: Where do I configure the host in Splunk Light to collect data from a socket of an external device? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Where-do-I-configure-the-host-in-Splunk-Light-to-collect-data/m-p/262836#M50446</link>
    <description>&lt;P&gt;Hope this small story of a similar example of implementation helps which was as follows:&lt;/P&gt;

&lt;P&gt;There was &lt;CODE&gt;Host A&lt;/CODE&gt; on which there was &lt;CODE&gt;log file A&lt;/CODE&gt; and &lt;CODE&gt;forwarder couldn't be installed on Host A&lt;/CODE&gt;. There was &lt;CODE&gt;Host B&lt;/CODE&gt; on which &lt;CODE&gt;Splunk&lt;/CODE&gt; was running. So to get the data &lt;CODE&gt;from Host A to Host B Splunk&lt;/CODE&gt;, on Host B Splunk &lt;CODE&gt;tcp input was configured to listen on port 12345&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;Python script&lt;/CODE&gt; was asked to run on &lt;CODE&gt;Host A&lt;/CODE&gt; to read &lt;CODE&gt;log file A&lt;/CODE&gt; and when done reading, fire this output to &lt;CODE&gt;Host B, port 12345&lt;/CODE&gt; where Splunk will be waiting to receive it. The logs then stayed in Splunk index happily ever after.&lt;/P&gt;

&lt;P&gt;In your case if script cannot be put on &lt;CODE&gt;Host A&lt;/CODE&gt; then there shall be an intermediate implementation which will first read the data from &lt;CODE&gt;Host A (hardware) port xxxx&lt;/CODE&gt; and then forward it to &lt;CODE&gt;Host B port 12345 where Splunk will be ready to receive.&lt;/CODE&gt; Choice of implementation shall be yours based on your environment, accessibility and security concerns.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2017 18:41:07 GMT</pubDate>
    <dc:creator>gokadroid</dc:creator>
    <dc:date>2017-01-27T18:41:07Z</dc:date>
    <item>
      <title>Where do I configure the host in Splunk Light to collect data from a socket of an external device?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-do-I-configure-the-host-in-Splunk-Light-to-collect-data/m-p/262835#M50445</link>
      <description>&lt;P&gt;I am evaluating Splunk Light.&lt;BR /&gt;
I want to collect data from a socket port on an external device. I was hoping that by configuring a TCP data input, entering the correct port number and source type, I would be able to get that data into Splunk Light. However, I am missing one datapoint, the host where the data needs to come from.&lt;BR /&gt;
The Add Data panel asks me for TCP/UDP, port number, Source name override, and Accept connections from.&lt;BR /&gt;
Source type is CSV, Method is either IP or DNS, let's say IP and Index is default.&lt;/P&gt;

&lt;P&gt;Where do I configure the host the data needs to come from? This is a hardware device and is not able to run a forwarder.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 16:17:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-do-I-configure-the-host-in-Splunk-Light-to-collect-data/m-p/262835#M50445</guid>
      <dc:creator>PepePelotas</dc:creator>
      <dc:date>2017-01-27T16:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Where do I configure the host in Splunk Light to collect data from a socket of an external device?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-do-I-configure-the-host-in-Splunk-Light-to-collect-data/m-p/262836#M50446</link>
      <description>&lt;P&gt;Hope this small story of a similar example of implementation helps which was as follows:&lt;/P&gt;

&lt;P&gt;There was &lt;CODE&gt;Host A&lt;/CODE&gt; on which there was &lt;CODE&gt;log file A&lt;/CODE&gt; and &lt;CODE&gt;forwarder couldn't be installed on Host A&lt;/CODE&gt;. There was &lt;CODE&gt;Host B&lt;/CODE&gt; on which &lt;CODE&gt;Splunk&lt;/CODE&gt; was running. So to get the data &lt;CODE&gt;from Host A to Host B Splunk&lt;/CODE&gt;, on Host B Splunk &lt;CODE&gt;tcp input was configured to listen on port 12345&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;Python script&lt;/CODE&gt; was asked to run on &lt;CODE&gt;Host A&lt;/CODE&gt; to read &lt;CODE&gt;log file A&lt;/CODE&gt; and when done reading, fire this output to &lt;CODE&gt;Host B, port 12345&lt;/CODE&gt; where Splunk will be waiting to receive it. The logs then stayed in Splunk index happily ever after.&lt;/P&gt;

&lt;P&gt;In your case if script cannot be put on &lt;CODE&gt;Host A&lt;/CODE&gt; then there shall be an intermediate implementation which will first read the data from &lt;CODE&gt;Host A (hardware) port xxxx&lt;/CODE&gt; and then forward it to &lt;CODE&gt;Host B port 12345 where Splunk will be ready to receive.&lt;/CODE&gt; Choice of implementation shall be yours based on your environment, accessibility and security concerns.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 18:41:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-do-I-configure-the-host-in-Splunk-Light-to-collect-data/m-p/262836#M50446</guid>
      <dc:creator>gokadroid</dc:creator>
      <dc:date>2017-01-27T18:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Where do I configure the host in Splunk Light to collect data from a socket of an external device?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-do-I-configure-the-host-in-Splunk-Light-to-collect-data/m-p/262837#M50447</link>
      <description>&lt;P&gt;There is a host A on which a service is running which exposes data on TCP socket port 14150. &lt;BR /&gt;
There is a host B on which Splunk is installed.&lt;BR /&gt;
On host B TCP input was configured to listen on port 14150.&lt;BR /&gt;
There is no possibility to run a script or any other application on host A.&lt;BR /&gt;
So to get the data from host A to host B Splunk on host B needs to be able to establish a TCP connection on host A port 14150. &lt;BR /&gt;
Is this possible? Or do i need to run a netcat or socat on host B which connects to host A port 14150 and redirects the data to host B port 14150 so Splunk can receive it? It looks to me that this should be a direct process without intervention of a third party program running on the same host as where Splunk is running. Am i missing something?&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 12:43:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-do-I-configure-the-host-in-Splunk-Light-to-collect-data/m-p/262837#M50447</guid>
      <dc:creator>PepePelotas</dc:creator>
      <dc:date>2017-01-28T12:43:14Z</dc:date>
    </item>
  </channel>
</rss>

