<?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: how to retrieve the results in splunk from API in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704204#M238646</link>
    <description>&lt;P&gt;both the bannerID and location are inside &amp;lt;n1:request&amp;gt; tag which is inside body of the REQUEST&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2024 18:21:35 GMT</pubDate>
    <dc:creator>splunk6</dc:creator>
    <dc:date>2024-11-12T18:21:35Z</dc:date>
    <item>
      <title>how to retrieve the results in splunk from API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704175#M238640</link>
      <description>&lt;LI-CODE lang="markup"&gt;2024-11-12 12:12:28.000,REQUEST="{"body":"&amp;lt;n1:Request xmlns:ESILib=\"http:/abcs/v1\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:n1=\"http://www.shaw.ca/esi/schema/product/inventoryreservation_create/v1\" xsi:schemaLocation=\"http://www.shaw.ca/esi/schema/product/inventoryreservation_create/v1 FES_InventoryReservation_create.xsd\"&amp;gt;&amp;lt;n1:inventoryReservationCreateRequest&amp;gt;&amp;lt;n1:brand&amp;gt;xyz&amp;lt;/n1:brand&amp;gt;&amp;lt;n1:channel&amp;gt;ABC&amp;lt;/n1:channel&amp;gt;&amp;lt;n1:bannerID&amp;gt;8669&amp;lt;/n1:bannerID&amp;gt;&amp;lt;n1:location&amp;gt;WD1234&amp;lt;/n1:location&amp;gt;&amp;lt;n1:genericLogicalResources&amp;gt;&amp;lt;n1:genericLogicalResource&amp;gt;&amp;lt;ESILib:skuNumber&amp;gt;194253408031&amp;lt;/ESILib:skuNumber&amp;gt;&amp;lt;ESILib:extendedProperties&amp;gt;&amp;lt;ESILib:extendedProperty&amp;gt;&amp;lt;ESILib:name&amp;gt;ReserveQty&amp;lt;/ESILib:name&amp;gt;&amp;lt;ESILib:values&amp;gt;&amp;lt;ESILib:item&amp;gt;1&amp;lt;/ESILib:item&amp;gt;&amp;lt;/ESILib:values&amp;gt;&amp;lt;/ESILib:extendedProperty&amp;gt;&amp;lt;/ESILib:extendedProperties&amp;gt;&amp;lt;/n1:genericLogicalResource&amp;gt;&amp;lt;/n1:genericLogicalResources&amp;gt;&amp;lt;/n1:inventoryReservationCreateRequest&amp;gt;&amp;lt;/n1:Request&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;how to retrieve the banner ID and location from the above using splunk query.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="abc"  sourcetype="oracle:transactionlog" OPERATION ="/service/v1/inventory/reservation"
|rex "REQUEST=\"(?&amp;lt;REQUEST&amp;gt;.+)\", RESPONSE=\"(?&amp;lt;RESPONSE&amp;gt;.+)\", RETRYNO"
|spath input=REQUEST
|spath input=REQUEST output=Bannerid path=body.n1:Request{}.n1:bannerID
|table Bannerid&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I used the above query but it didnot yeild any results&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 16:14:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704175#M238640</guid>
      <dc:creator>splunk6</dc:creator>
      <dc:date>2024-11-12T16:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the results in splunk from API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704191#M238641</link>
      <description>&lt;P&gt;Your sample event does not include "RESPONSE" so the rex will not be able to extract the REQUEST field&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 16:06:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704191#M238641</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-11-12T16:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the results in splunk from API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704193#M238642</link>
      <description>&lt;P&gt;I do have a RESPONSE field as well in the API&lt;BR /&gt;&lt;SPAN class=""&gt;RESPONSE=&lt;/SPAN&gt;&lt;SPAN&gt;"{"&lt;/SPAN&gt;&lt;SPAN class=""&gt;body&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&amp;lt;?&lt;/SPAN&gt;&lt;SPAN class=""&gt;xml&lt;/SPAN&gt; &lt;SPAN class=""&gt;version=\&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;1.0\&lt;/SPAN&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;SPAN class=""&gt;encoding=\&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;UTF-8\&lt;/SPAN&gt;&lt;SPAN&gt;"?&amp;gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;fes:Response&lt;/SPAN&gt; &lt;SPAN class=""&gt;xmlns:fes=\&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="http://www.shaw.ca/esi/schema/product/inventoryreservation_create/v1\" target="_blank" rel="noopener"&gt;http://www.abc/product/inventoryreservation_create/v1\&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;fes:inventoryReservationCreateResponse&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;fes:reservationId&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;fd19244445edb18&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/fes:reservationId&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;fes:requestStatus&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Success&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/fes:requestStatus&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;fes:requestState&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Order&lt;/SPAN&gt; &lt;SPAN class=""&gt;Reserved&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/fes:requestState&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/fes:inventoryReservationCreateResponse&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/fes:Response&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;headers&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;{"&lt;/SPAN&gt;&lt;SPAN class=""&gt;content-type&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;text/xml&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN class=""&gt;charset=utf-8&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;accept&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;application/xml&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;application/fastinfoset&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;server&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;Jetty&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;9.4.27.v20200227&lt;/SPAN&gt;&lt;SPAN&gt;)","&lt;/SPAN&gt;&lt;SPAN class=""&gt;uritemplate&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;/service/v1/inventory/reservation&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;operationname&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;CREATE_RESERVATION&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;method&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;POST&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;url&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="http://192.168.70.13:3614/service/v1/inventory/reservation" target="_blank" rel="noopener"&gt;http://192.123/service/v1/inventory/reservation&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;x_shaw_request_tracing&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;location_id&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;singularityheader&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;appId=60&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN class=""&gt;ctrlguid=1730261321&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN class=""&gt;acctguid=602406e5-b988-4764-be9d-e041209f6ed8&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN class=""&gt;ts=1731413516129&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN class=""&gt;btid=40467&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN class=""&gt;snapenable=true&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN class=""&gt;donotresolve=true&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN class=""&gt;guid=a61228ec-2eed-4ec7-b2eb-1e0ebb10ad65&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN class=""&gt;exitguid=1&lt;/SPAN&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;SPAN class=""&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;SPAN class=""&gt;17&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN class=""&gt;unresolvedexitid=13486&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN class=""&gt;cidfrom=649&lt;/SPAN&gt;&lt;SPAN&gt;,{[&lt;/SPAN&gt;&lt;SPAN class=""&gt;UNRESOLVED&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN class=""&gt;17715&lt;/SPAN&gt;&lt;SPAN&gt;]},&lt;/SPAN&gt;&lt;SPAN class=""&gt;648&lt;/SPAN&gt;&lt;SPAN&gt;,{[&lt;/SPAN&gt;&lt;SPAN class=""&gt;UNRESOLVED&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN class=""&gt;18213&lt;/SPAN&gt;&lt;SPAN&gt;]},&lt;/SPAN&gt;&lt;SPAN class=""&gt;689&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN class=""&gt;etypeorder=HTTP&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;HTTP&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;HTTP&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;HTTP&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;HTTP&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN class=""&gt;esubtype=HTTP&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;HTTP&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;HTTP&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;HTTP&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;HTTP&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN class=""&gt;cidto=&lt;/SPAN&gt;&lt;SPAN&gt;{[&lt;/SPAN&gt;&lt;SPAN class=""&gt;UNRESOLVED&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN class=""&gt;17715&lt;/SPAN&gt;&lt;SPAN&gt;]},&lt;/SPAN&gt;&lt;SPAN class=""&gt;648&lt;/SPAN&gt;&lt;SPAN&gt;,{[&lt;/SPAN&gt;&lt;SPAN class=""&gt;UNRESOLVED&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN class=""&gt;18213&lt;/SPAN&gt;&lt;SPAN&gt;]},&lt;/SPAN&gt;&lt;SPAN class=""&gt;689&lt;/SPAN&gt;&lt;SPAN&gt;,{[&lt;/SPAN&gt;&lt;SPAN class=""&gt;UNRESOLVED&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN class=""&gt;13486&lt;/SPAN&gt;&lt;SPAN&gt;]}","&lt;/SPAN&gt;&lt;SPAN class=""&gt;asyncreplyfordestinaton&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;Svc-REST.DIRECTFULFILLMENT.CreateInventoryReservation:PROCESS&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;x_shaw_service_orchestration_id&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;Id-ebcc8a602f57c17646182490&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;environment&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;prod&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;final_match_group&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;x_shaw_onbehalfof_id&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;CREATE&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;directfulfillment.reservationid&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;fd19244445edb18&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;lg_header&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;Interaction=IwDMcZ3MDAZ5okkgkwEJDMgK&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Locus=uWm7UBiog5Kb3BmVyz1/dA==&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Flow=4geEzEzItMPK3CMgkwEODMgK&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Chain=IQDMcZ3MDAZ5okkgkwEJDMgK&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN class=""&gt;UpstreamOpID=eMsPL0LlEOcPDTl5JMfY6Q==&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CallerAddress=tossbprd1app03.fcc.bss.globalivewireless.local&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;content-length&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;380&lt;/SPAN&gt;&lt;SPAN&gt;"}}",&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 16:20:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704193#M238642</guid>
      <dc:creator>splunk6</dc:creator>
      <dc:date>2024-11-12T16:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the results in splunk from API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704194#M238643</link>
      <description>&lt;P&gt;This event doesn't appear to have a REQUEST. Splunk SPL works on a pipeline of events, effectively processing each event one at a time. Usually, with request and response log events, you need to find a way to correlate the response with the request.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 16:33:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704194#M238643</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-11-12T16:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the results in splunk from API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704196#M238644</link>
      <description>&lt;P&gt;With the above request and response can u telme how we can retrieve the bannerID and location using splunk query&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 16:52:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704196#M238644</guid>
      <dc:creator>splunk6</dc:creator>
      <dc:date>2024-11-12T16:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the results in splunk from API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704203#M238645</link>
      <description>&lt;P&gt;How do you locate these within your events?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 17:58:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704203#M238645</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-11-12T17:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the results in splunk from API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704204#M238646</link>
      <description>&lt;P&gt;both the bannerID and location are inside &amp;lt;n1:request&amp;gt; tag which is inside body of the REQUEST&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 18:21:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704204#M238646</guid>
      <dc:creator>splunk6</dc:creator>
      <dc:date>2024-11-12T18:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the results in splunk from API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704207#M238647</link>
      <description>&lt;P&gt;I write it way too often on this forum - make your life easier, fix your data!&lt;/P&gt;&lt;P&gt;At this point, even assuming that your copy-pasted sample got truncated and your real data is properly closed, you have&lt;/P&gt;&lt;P&gt;- XML structure&lt;/P&gt;&lt;P&gt;- as a string field in json&lt;/P&gt;&lt;P&gt;- prepended by some more or less structured plain-text header.&lt;/P&gt;&lt;P&gt;Do you have any other plain text data there? I suppose not. So you could just parse the timestamp and then cut the header. This can be done with a simple SEDCMD. With the json part it will be more difficult because it requires de-escaping some characters. And if you have more data in that json, "extracting" the xml part is not really a feasible option.&lt;/P&gt;&lt;P&gt;But it might be worth giving it a try.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 19:42:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704207#M238647</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-11-12T19:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the results in splunk from API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704217#M238649</link>
      <description>&lt;P&gt;I dont have any plain text data. All the data are feeded as REquest and response in splunk from which i need to retrieve bannerID and location codes. Could you please help me how to retrive that in splunk&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 21:57:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704217#M238649</guid>
      <dc:creator>splunk6</dc:creator>
      <dc:date>2024-11-12T21:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the results in splunk from API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704218#M238650</link>
      <description>&lt;P&gt;Both the request and response are from the same API. Just that i could not use spath to specify the path of bannerid and location code to get those values. Please help&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 21:58:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704218#M238650</guid>
      <dc:creator>splunk6</dc:creator>
      <dc:date>2024-11-12T21:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the results in splunk from API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704219#M238651</link>
      <description>&lt;P&gt;Also if there is a way to locate these events with the help of "rex" command also let me know so that i can use that as well&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 22:01:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704219#M238651</guid>
      <dc:creator>splunk6</dc:creator>
      <dc:date>2024-11-12T22:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the results in splunk from API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704223#M238652</link>
      <description>&lt;P&gt;How do you know which response is related to which request?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 23:33:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-the-results-in-splunk-from-API/m-p/704223#M238652</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-11-12T23:33:55Z</dc:date>
    </item>
  </channel>
</rss>

