<?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: Configuring Logstash to send files to Splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Configuring-Logstash-to-send-files-to-Splunk/m-p/742529#M117950</link>
    <description>&lt;P&gt;Thanks for the info, I really appreciate the help.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Mar 2025 12:46:43 GMT</pubDate>
    <dc:creator>Fr3nchee</dc:creator>
    <dc:date>2025-03-24T12:46:43Z</dc:date>
    <item>
      <title>Configuring Logstash to send files to Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configuring-Logstash-to-send-files-to-Splunk/m-p/742415#M117937</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;So I'm very new to Splunk, like I've been playing around with it for less than 3 months.&amp;nbsp; I have been tasked with sending logs from Logstash into Splunk, however, I have no idea where to start with this.&amp;nbsp; I've been looking online, but the information I find is very confusing.&lt;/P&gt;&lt;P&gt;Does someone have some kind of guide that explains how to get data from Logstash to Splunk in detail, including what files need to be configured in Logstash?&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 12:31:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configuring-Logstash-to-send-files-to-Splunk/m-p/742415#M117937</guid>
      <dc:creator>Fr3nchee</dc:creator>
      <dc:date>2025-03-21T12:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Logstash to send files to Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configuring-Logstash-to-send-files-to-Splunk/m-p/742416#M117938</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/308724"&gt;@Fr3nchee&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;Before Logstash can send logs, Splunk needs to be configured to receive them.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;Open your Splunk instance and Create a new HEC data input.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Go to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Settings &amp;gt; Data Inputs &amp;gt; HTTP Event Collector&lt;/STRONG&gt;.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Click&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;New Token&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and give it a name&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Select the index where you want the data to be stored (e.g., "logstash"), You have to create the index on HF and also in the indexers.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Copy the token for later use.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;Refer this for more info:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/FormateventsforHTTPEventCollector" target="_blank" rel="noopener"&gt;Format events for HTTP Event Collector - Splunk Documentation&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Follow the below documentation for more information:&amp;nbsp;&lt;A href="https://github.com/bonifield/logstash-to-splunk" target="_blank" rel="noopener"&gt;GitHub - bonifield/logstash-to-splunk: writeup about sending Logstash data to Splunk using the HTTP Event Collector&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;Verify data in Splunk :&lt;/P&gt;&lt;P&gt;Go to search head and search for your data you specified eg: index=&lt;SPAN&gt;logstash&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Mar 2025 12:45:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configuring-Logstash-to-send-files-to-Splunk/m-p/742416#M117938</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-03-21T12:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Logstash to send files to Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configuring-Logstash-to-send-files-to-Splunk/m-p/742417#M117939</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/308724"&gt;@Fr3nchee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;in addition to the perfect information from&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264857"&gt;@kiran_panchavat&lt;/a&gt;&amp;nbsp;, remember that logstash modifies the original logs putting the original log in a field of the JSON called message.&lt;/P&gt;&lt;P&gt;This means that all the add-on that you can find in splunkbase don't work.&lt;/P&gt;&lt;P&gt;You have two choices:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;restore the original log format extracting from the JSON file the message field and putting it in _raw,&lt;/LI&gt;&lt;LI&gt;create your own parsers.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I hint the first solution, because the second one is very long to implement.&lt;/P&gt;&lt;P&gt;even if isn't so easy to implement because you must use INGEST_EVAL command and json_extract&amp;nbsp;funcion, for this I hint to engage someone that already experienced this job.&lt;/P&gt;&lt;P&gt;At least to prepare the job.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 13:19:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configuring-Logstash-to-send-files-to-Splunk/m-p/742417#M117939</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-03-21T13:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Logstash to send files to Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configuring-Logstash-to-send-files-to-Splunk/m-p/742437#M117944</link>
      <description>&lt;P&gt;Logstash is an external tool which doesn't have direct native support for Splunk. You can however configure serveral different types of outputs which you can use it to send data to Splunk - syslog, http or simply writing to files and piking up the data from files with monitor inputs using Splunk's UF.&lt;/P&gt;&lt;P&gt;But.&lt;/P&gt;&lt;P&gt;As &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt; pointed out - since Logstash is an external tool meant for something completely different than being used with Splunk, it prepares data its own way and generally its output is not compatible with what normal Splunk apps expect. So you could be better off - especially if you're receiving data over syslog - "branching" your event ingestion pipeline before logstash. So that logstash, if you're using it as well for some other solution, receives its copy of data and another copy is sent from before logstash to your Splunk environment (especially to some syslog receiver).&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 17:31:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configuring-Logstash-to-send-files-to-Splunk/m-p/742437#M117944</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-03-21T17:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Logstash to send files to Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configuring-Logstash-to-send-files-to-Splunk/m-p/742529#M117950</link>
      <description>&lt;P&gt;Thanks for the info, I really appreciate the help.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 12:46:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configuring-Logstash-to-send-files-to-Splunk/m-p/742529#M117950</guid>
      <dc:creator>Fr3nchee</dc:creator>
      <dc:date>2025-03-24T12:46:43Z</dc:date>
    </item>
  </channel>
</rss>

