<?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: Send csv data to Http Event Collector in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Send-csv-data-to-Http-Event-Collector/m-p/530759#M89317</link>
    <description>&lt;P&gt;No, I meant to send a csv file to splunk's HEC&lt;/P&gt;&lt;P&gt;The actuall data itself in the file with the commas and everything...&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 06:07:52 GMT</pubDate>
    <dc:creator>learnkhru</dc:creator>
    <dc:date>2020-11-25T06:07:52Z</dc:date>
    <item>
      <title>Send csv data to Http Event Collector</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-csv-data-to-Http-Event-Collector/m-p/530613#M89307</link>
      <description>&lt;P&gt;Hi,I want to send a csv pure data file as it is to splunk via Http Event Collector. How can I do it? Can I send it to /raw or /event or something?&lt;/P&gt;&lt;P&gt;How to make splunk to parse it properly?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 14:35:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-csv-data-to-Http-Event-Collector/m-p/530613#M89307</guid>
      <dc:creator>learnkhru</dc:creator>
      <dc:date>2020-11-24T14:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Send csv data to Http Event Collector</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-csv-data-to-Http-Event-Collector/m-p/530721#M89312</link>
      <description>&lt;P&gt;&lt;SPAN&gt;dl_json.py&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import requests
import json
headers = {'accept': 'application/json', 'content-type': 'application/json'}
url = 'https://www3.nhk.or.jp/news/special/coronavirus/data/47patients-data.json'
response=requests.get(url,headers=headers)
json_obj = response.json()
f = open("output.json","w")
json.dump(json_obj, f)&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;It's easier to download in python like this&lt;BR /&gt;The csv can be parsed.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 23:42:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-csv-data-to-Http-Event-Collector/m-p/530721#M89312</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-11-24T23:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Send csv data to Http Event Collector</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-csv-data-to-Http-Event-Collector/m-p/530759#M89317</link>
      <description>&lt;P&gt;No, I meant to send a csv file to splunk's HEC&lt;/P&gt;&lt;P&gt;The actuall data itself in the file with the commas and everything...&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 06:07:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-csv-data-to-Http-Event-Collector/m-p/530759#M89317</guid>
      <dc:creator>learnkhru</dc:creator>
      <dc:date>2020-11-25T06:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Send csv data to Http Event Collector</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-csv-data-to-Http-Event-Collector/m-p/530762#M89318</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/229082"&gt;@learnkhru&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to have a program which will call Splunk HEC URL and post data which you would like to forward to Splunk. you &lt;STRONG&gt;can not&lt;/STRONG&gt; forward/post csv file just with csv and having SPLUNK HEC endpoint without using any programming language.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.0/Data/Monitorfilesanddirectorieswithinputs.conf" target="_self"&gt;There are other options to read files using Splunk&lt;/A&gt;. No need to use Splunk HEC.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 06:22:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-csv-data-to-Http-Event-Collector/m-p/530762#M89318</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-11-25T06:22:01Z</dc:date>
    </item>
  </channel>
</rss>

