<?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 logstash configurations for sending data to splunk through tcp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/logstash-configurations-for-sending-data-to-splunk-through-tcp/m-p/395992#M100231</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am using rsyslog  and logstash agent to forward data to splunk. I am able to send data through tcp from rsyslog but I am not able to using logstsh agent. Can you please help me on logstash configuration to fwd data to splunk.&lt;/P&gt;

&lt;P&gt;logstash config&lt;/P&gt;

&lt;P&gt;input{&lt;BR /&gt;
pipe{&lt;BR /&gt;
Appid =&amp;gt; "XXXX"&lt;BR /&gt;
path =&amp;gt; "/path/script.sh"&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;output{&lt;/P&gt;

&lt;P&gt;tcp&lt;BR /&gt;
{&lt;BR /&gt;
host =&amp;gt; "XXXXX.XXXX"&lt;BR /&gt;
port =&amp;gt; XXX&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;I have mentioned the above config as a sample. &lt;/P&gt;</description>
    <pubDate>Mon, 19 Nov 2018 04:26:48 GMT</pubDate>
    <dc:creator>mohan401</dc:creator>
    <dc:date>2018-11-19T04:26:48Z</dc:date>
    <item>
      <title>logstash configurations for sending data to splunk through tcp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/logstash-configurations-for-sending-data-to-splunk-through-tcp/m-p/395992#M100231</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am using rsyslog  and logstash agent to forward data to splunk. I am able to send data through tcp from rsyslog but I am not able to using logstsh agent. Can you please help me on logstash configuration to fwd data to splunk.&lt;/P&gt;

&lt;P&gt;logstash config&lt;/P&gt;

&lt;P&gt;input{&lt;BR /&gt;
pipe{&lt;BR /&gt;
Appid =&amp;gt; "XXXX"&lt;BR /&gt;
path =&amp;gt; "/path/script.sh"&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;output{&lt;/P&gt;

&lt;P&gt;tcp&lt;BR /&gt;
{&lt;BR /&gt;
host =&amp;gt; "XXXXX.XXXX"&lt;BR /&gt;
port =&amp;gt; XXX&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;I have mentioned the above config as a sample. &lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 04:26:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/logstash-configurations-for-sending-data-to-splunk-through-tcp/m-p/395992#M100231</guid>
      <dc:creator>mohan401</dc:creator>
      <dc:date>2018-11-19T04:26:48Z</dc:date>
    </item>
  </channel>
</rss>

