<?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: splunk forwarder not send data to python socket.io in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-not-send-data-to-python-socket-io/m-p/570230#M101072</link>
    <description>&lt;P&gt;/opt/splunkforwarder/etc/system/local&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[tcpout]&lt;BR /&gt;defaultGroup = default-autolb-group&lt;/P&gt;&lt;P&gt;[tcpout:default-autolb-group]&lt;BR /&gt;server = 192.168.20.185:4845&lt;BR /&gt;sendCookedData = false&lt;BR /&gt;[tcpout-server://192.168.20.185:4845]&lt;/P&gt;</description>
    <pubDate>Fri, 08 Oct 2021 14:03:27 GMT</pubDate>
    <dc:creator>hammad_yasir</dc:creator>
    <dc:date>2021-10-08T14:03:27Z</dc:date>
    <item>
      <title>splunk forwarder not send data to python socket.io</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-not-send-data-to-python-socket-io/m-p/570175#M101060</link>
      <description>&lt;P&gt;Hi i hope everyone will be fine.i am facing issue .I am forwarding logs to third party like port of any system.i seen error message at port i am using python third party library scoket.io i face error "code 400, message Bad request version ('nCurrent=0')".help me to solve my issue.with python standard libraray name socket work fine with splunk.when i use with scoket.io libraray its crate error bad request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eroor.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16312i70F08EEADD3AEED4/image-size/large?v=v2&amp;amp;px=999" role="button" title="eroor.png" alt="eroor.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 07:51:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-not-send-data-to-python-socket-io/m-p/570175#M101060</guid>
      <dc:creator>hammad_yasir</dc:creator>
      <dc:date>2021-10-08T07:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: splunk forwarder not send data to python socket.io</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-not-send-data-to-python-socket-io/m-p/570222#M101070</link>
      <description>&lt;P&gt;What exactly are you trying to do?&lt;/P&gt;&lt;P&gt;How do you have it configured?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 13:45:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-not-send-data-to-python-socket-io/m-p/570222#M101070</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-10-08T13:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: splunk forwarder not send data to python socket.io</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-not-send-data-to-python-socket-io/m-p/570230#M101072</link>
      <description>&lt;P&gt;/opt/splunkforwarder/etc/system/local&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[tcpout]&lt;BR /&gt;defaultGroup = default-autolb-group&lt;/P&gt;&lt;P&gt;[tcpout:default-autolb-group]&lt;BR /&gt;server = 192.168.20.185:4845&lt;BR /&gt;sendCookedData = false&lt;BR /&gt;[tcpout-server://192.168.20.185:4845]&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 14:03:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-not-send-data-to-python-socket-io/m-p/570230#M101072</guid>
      <dc:creator>hammad_yasir</dc:creator>
      <dc:date>2021-10-08T14:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: splunk forwarder not send data to python socket.io</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-not-send-data-to-python-socket-io/m-p/570231#M101073</link>
      <description>&lt;P&gt;at python side i have write code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;import eventlet
import socketio

sio = socketio.Server()
app = socketio.WSGIApp(sio, static_files={
    '/': {'content_type': 'text/html', 'filename': 'index.html'}
})

@sio.event
def connect(sid, environ):
    print('connect ', sid)

@sio.event
def my_message(sid, data):
    print('message ', data)

@sio.event
def disconnect(sid):
    print('disconnect ', sid)

if __name__ == '__main__':
    eventlet.wsgi.server(eventlet.listen(('192.168.20.185', 4848)), app)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 08 Oct 2021 14:05:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-not-send-data-to-python-socket-io/m-p/570231#M101073</guid>
      <dc:creator>hammad_yasir</dc:creator>
      <dc:date>2021-10-08T14:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: splunk forwarder not send data to python socket.io</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-not-send-data-to-python-socket-io/m-p/570279#M101079</link>
      <description>&lt;P&gt;Now it's more like it. So you're trying to send events via tcpout output which uses proprietary s2s protocol to your wsgi app which expects http.&lt;/P&gt;&lt;P&gt;With sufficiently new forwarder you could try to set up http forwarding.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Forwarder/8.2.2/Forwarder/Configureforwardingwithoutputs.conf#Configure_the_universal_forwarder_to_send_data_over_HTTP" target="_blank"&gt;https://docs.splunk.com/Documentation/Forwarder/8.2.2/Forwarder/Configureforwardingwithoutputs.conf#Configure_the_universal_forwarder_to_send_data_over_HTTP&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 18:15:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-not-send-data-to-python-socket-io/m-p/570279#M101079</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-10-08T18:15:46Z</dc:date>
    </item>
  </channel>
</rss>

