<?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: Making HTTP get requests with splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Making-HTTP-get-requests-with-splunk/m-p/566757#M100725</link>
    <description>&lt;P&gt;See the example of using custom headers here&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/4146/#/details" target="_blank"&gt;https://splunkbase.splunk.com/app/4146/#/details&lt;/A&gt;&lt;/P&gt;&lt;P&gt;headerfield option takes a field name, not a string - in any case, you need to quote the entire JSON payload and escape the doublequoted JSON fieldnames and values.&lt;/P&gt;&lt;P&gt;add the debug=t option to the curl query and you will get some feedback&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 01:30:38 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2021-09-13T01:30:38Z</dc:date>
    <item>
      <title>Making HTTP get requests with splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Making-HTTP-get-requests-with-splunk/m-p/566366#M100689</link>
      <description>&lt;P&gt;How can i create a scheduled report that runs every hour and makes GET requests to fetch data from an open source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;basically querying the same page and updating latest data available on premises.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 20:43:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Making-HTTP-get-requests-with-splunk/m-p/566366#M100689</guid>
      <dc:creator>nikhilnsr1998</dc:creator>
      <dc:date>2021-09-08T20:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Making HTTP get requests with splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Making-HTTP-get-requests-with-splunk/m-p/566371#M100690</link>
      <description>&lt;P&gt;There probably are several apps on splunkbase that can help with that.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 21:30:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Making-HTTP-get-requests-with-splunk/m-p/566371#M100690</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-09-08T21:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Making HTTP get requests with splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Making-HTTP-get-requests-with-splunk/m-p/566380#M100692</link>
      <description>&lt;P&gt;could you please share a few?&lt;/P&gt;&lt;P&gt;&amp;nbsp;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 22:41:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Making-HTTP-get-requests-with-splunk/m-p/566380#M100692</guid>
      <dc:creator>nikhilnsr1998</dc:creator>
      <dc:date>2021-09-08T22:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Making HTTP get requests with splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Making-HTTP-get-requests-with-splunk/m-p/566381#M100693</link>
      <description>&lt;P&gt;Try the webtools app - not supported in Splunk Cloud&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/4146/" target="_blank"&gt;https://splunkbase.splunk.com/app/4146/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 23:17:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Making-HTTP-get-requests-with-splunk/m-p/566381#M100693</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-09-08T23:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Making HTTP get requests with splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Making-HTTP-get-requests-with-splunk/m-p/566426#M100700</link>
      <description>&lt;P&gt;thanks for the help. This seems to be correct, can you please help out on one other problem&lt;/P&gt;&lt;P&gt;within the webtools application i ran below query to fetch data from rapidapi :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;| curl method=GET user=&amp;lt;splunk_username&amp;gt;pass=&amp;lt;splunk_password&amp;gt; headerfield= {&lt;BR /&gt;'x-rapidapi-host': "community-open-weather-map.p.rapidapi.com",&lt;BR /&gt;'x-rapidapi-key': "&amp;lt;apikey-from-rapidapi&amp;gt;"&lt;BR /&gt;}&lt;BR /&gt;data={"q":"London,uk","lat":"0","lon":"0","callback":"test","id":"2172797","lang":"null","units":"imperial","mode":"json"} uri="&lt;A href="https://community-open-weather-map.p.rapidapi.com/weather" target="_blank"&gt;https://community-open-weather-map.p.rapidapi.com/weather&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting below results (pfa screenshot)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 09:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Making-HTTP-get-requests-with-splunk/m-p/566426#M100700</guid>
      <dc:creator>nikhilnsr1998</dc:creator>
      <dc:date>2021-09-09T09:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Making HTTP get requests with splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Making-HTTP-get-requests-with-splunk/m-p/566757#M100725</link>
      <description>&lt;P&gt;See the example of using custom headers here&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/4146/#/details" target="_blank"&gt;https://splunkbase.splunk.com/app/4146/#/details&lt;/A&gt;&lt;/P&gt;&lt;P&gt;headerfield option takes a field name, not a string - in any case, you need to quote the entire JSON payload and escape the doublequoted JSON fieldnames and values.&lt;/P&gt;&lt;P&gt;add the debug=t option to the curl query and you will get some feedback&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 01:30:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Making-HTTP-get-requests-with-splunk/m-p/566757#M100725</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-09-13T01:30:38Z</dc:date>
    </item>
  </channel>
</rss>

