<?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: Does anyone have any experience pulling data from Qradar (API) to Splunk?? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Does-anyone-have-any-experience-pulling-data-from-Qradar-API-to/m-p/398591#M48656</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/130563"&gt;@asimagu&lt;/a&gt;,&lt;BR /&gt;
You can use script to get data from QRadar and send them to Splunk.&lt;BR /&gt;
Here is how you get events from QRadar:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;Send a POST request to curl -X GET -k -u username:password https://?qradar-url?/api/ariel/searches --data-urlencode "query_expression="&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;If response is 201, obtain search_id from response&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Send a GET request to &lt;STRONG&gt;/ariel/searches/{search_id}&lt;/STRONG&gt; to obtain the status of the search. While the response code is 200 and the status is not 'COMPLETED' or 'ERROR', loop.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;If the status is 'ERROR', you can use the error_messages response to obtain information. If the status is 'COMPLETED', you can get the results via GET &lt;STRONG&gt;/ariel/searches/{search_id}/results&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;You can use python requests module instead of curl, if you want to code this script into python. Get more info about above steps: &lt;A href="https://www.ibm.com/developerworks/community/forums/html/topic?id=d8d0c48b-825b-40b1-bedc-b3a08548c695" target="_blank"&gt;https://www.ibm.com/developerworks/community/forums/html/topic?id=d8d0c48b-825b-40b1-bedc-b3a08548c695&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can use &lt;STRONG&gt;HEC&lt;/STRONG&gt; to index these events into Splunk.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;curl -k  https://?splunk-url?:8088/services/collector/event -H "Authorization: Splunk &lt;STRONG&gt;HEC-token&lt;/STRONG&gt;" -d '{"event": }'&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Here is the detail description how can you  use HEC in Splunk and how can you generate HEC token from Splunk UI: &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.3/Data/UsetheHTTPEventCollector" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.3/Data/UsetheHTTPEventCollector&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:25:39 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2020-09-29T21:25:39Z</dc:date>
    <item>
      <title>Does anyone have any experience pulling data from Qradar (API) to Splunk??</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Does-anyone-have-any-experience-pulling-data-from-Qradar-API-to/m-p/398590#M48655</link>
      <description>&lt;P&gt;Hey friends&lt;/P&gt;

&lt;P&gt;Anyone have any experience pulling data from Qradar (API) to Splunk?? (for example. the siem/offenses )&lt;/P&gt;

&lt;P&gt;Any Python script that would do the magic?? I tried to use the REST api modular input, but could not make it work&lt;/P&gt;

&lt;P&gt;Any help would be much appreciated. thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 14:20:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Does-anyone-have-any-experience-pulling-data-from-Qradar-API-to/m-p/398590#M48655</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2018-10-03T14:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone have any experience pulling data from Qradar (API) to Splunk??</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Does-anyone-have-any-experience-pulling-data-from-Qradar-API-to/m-p/398591#M48656</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/130563"&gt;@asimagu&lt;/a&gt;,&lt;BR /&gt;
You can use script to get data from QRadar and send them to Splunk.&lt;BR /&gt;
Here is how you get events from QRadar:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;Send a POST request to curl -X GET -k -u username:password https://?qradar-url?/api/ariel/searches --data-urlencode "query_expression="&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;If response is 201, obtain search_id from response&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Send a GET request to &lt;STRONG&gt;/ariel/searches/{search_id}&lt;/STRONG&gt; to obtain the status of the search. While the response code is 200 and the status is not 'COMPLETED' or 'ERROR', loop.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;If the status is 'ERROR', you can use the error_messages response to obtain information. If the status is 'COMPLETED', you can get the results via GET &lt;STRONG&gt;/ariel/searches/{search_id}/results&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;You can use python requests module instead of curl, if you want to code this script into python. Get more info about above steps: &lt;A href="https://www.ibm.com/developerworks/community/forums/html/topic?id=d8d0c48b-825b-40b1-bedc-b3a08548c695" target="_blank"&gt;https://www.ibm.com/developerworks/community/forums/html/topic?id=d8d0c48b-825b-40b1-bedc-b3a08548c695&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can use &lt;STRONG&gt;HEC&lt;/STRONG&gt; to index these events into Splunk.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;curl -k  https://?splunk-url?:8088/services/collector/event -H "Authorization: Splunk &lt;STRONG&gt;HEC-token&lt;/STRONG&gt;" -d '{"event": }'&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Here is the detail description how can you  use HEC in Splunk and how can you generate HEC token from Splunk UI: &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.3/Data/UsetheHTTPEventCollector" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.3/Data/UsetheHTTPEventCollector&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:25:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Does-anyone-have-any-experience-pulling-data-from-Qradar-API-to/m-p/398591#M48656</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2020-09-29T21:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone have any experience pulling data from Qradar (API) to Splunk??</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Does-anyone-have-any-experience-pulling-data-from-Qradar-API-to/m-p/398592#M48657</link>
      <description>&lt;P&gt;@VatsalJagani thanks for your answer. I don´t have username and password, only a token.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 09:48:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Does-anyone-have-any-experience-pulling-data-from-Qradar-API-to/m-p/398592#M48657</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2018-10-04T09:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone have any experience pulling data from Qradar (API) to Splunk??</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Does-anyone-have-any-experience-pulling-data-from-Qradar-API-to/m-p/398593#M48658</link>
      <description>&lt;P&gt;Can you try adding &lt;CODE&gt;-H "Authorization: Bearer &amp;lt;your_token&amp;gt;"&lt;/CODE&gt; instead of username password?&lt;BR /&gt;
I hope you will find out how we can do this in python or other script.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 10:15:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Does-anyone-have-any-experience-pulling-data-from-Qradar-API-to/m-p/398593#M48658</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2018-10-04T10:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone have any experience pulling data from Qradar (API) to Splunk??</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Does-anyone-have-any-experience-pulling-data-from-Qradar-API-to/m-p/398594#M48659</link>
      <description>&lt;P&gt;hi @asimagu,&lt;/P&gt;

&lt;P&gt;Thanks for posting on Splunk Answers.&lt;/P&gt;

&lt;P&gt;I'm glad to see that you are using the Karma bounty feature! However, it won't work if you don't engage with the user trying to answer your question. Please approve the question below so the user can receive their Karma points.  Or, if the solution didn't help you, please explain why so that they — or someone else — can.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 18:54:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Does-anyone-have-any-experience-pulling-data-from-Qradar-API-to/m-p/398594#M48659</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-10-19T18:54:59Z</dc:date>
    </item>
  </channel>
</rss>

