<?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 How to group input and output request log? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-group-input-and-output-request-log/m-p/382881#M5818</link>
    <description>&lt;P&gt;We have our webservice logs on splunk having separate request (input) and response(output) log. There is one common unique id field between request and response log. But I want to match events in such a way to have count on basis of "requst_name" from request log and "response_cd" (where response_cd is not "00")from response log.&lt;/P&gt;

&lt;P&gt;Example of request and response events:&lt;/P&gt;

&lt;P&gt;REQUEST EVENT:&lt;/P&gt;

&lt;P&gt;TYPE=REQUEST,ID=ABCDEF,REQUST_NAME=API_LOGGING_INFO, DATE=YYYY-MM-DD,TIME=HH:MM:SS&lt;/P&gt;

&lt;P&gt;RESPONSE EVENT :&lt;/P&gt;

&lt;P&gt;TYPE=RESPOMSE, ID=ABCDEF,RESPONSE_CODE=00&lt;BR /&gt;
(Response_cd may have different values)&lt;/P&gt;

&lt;P&gt;I have tried transaction commond to group events and then search for non "00" response-cd but search is taking very long time.&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:19:05 GMT</pubDate>
    <dc:creator>MayankMathur198</dc:creator>
    <dc:date>2020-09-29T21:19:05Z</dc:date>
    <item>
      <title>How to group input and output request log?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-group-input-and-output-request-log/m-p/382881#M5818</link>
      <description>&lt;P&gt;We have our webservice logs on splunk having separate request (input) and response(output) log. There is one common unique id field between request and response log. But I want to match events in such a way to have count on basis of "requst_name" from request log and "response_cd" (where response_cd is not "00")from response log.&lt;/P&gt;

&lt;P&gt;Example of request and response events:&lt;/P&gt;

&lt;P&gt;REQUEST EVENT:&lt;/P&gt;

&lt;P&gt;TYPE=REQUEST,ID=ABCDEF,REQUST_NAME=API_LOGGING_INFO, DATE=YYYY-MM-DD,TIME=HH:MM:SS&lt;/P&gt;

&lt;P&gt;RESPONSE EVENT :&lt;/P&gt;

&lt;P&gt;TYPE=RESPOMSE, ID=ABCDEF,RESPONSE_CODE=00&lt;BR /&gt;
(Response_cd may have different values)&lt;/P&gt;

&lt;P&gt;I have tried transaction commond to group events and then search for non "00" response-cd but search is taking very long time.&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:19:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-group-input-and-output-request-log/m-p/382881#M5818</guid>
      <dc:creator>MayankMathur198</dc:creator>
      <dc:date>2020-09-29T21:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to group input and output request log?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-group-input-and-output-request-log/m-p/382882#M5819</link>
      <description>&lt;P&gt;As a starting point does the following help?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;( source=request OR source=response ) response_cd != 00
| stats count by id, source
| stats count by id 
| where count &amp;gt; 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Sep 2018 18:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-group-input-and-output-request-log/m-p/382882#M5819</guid>
      <dc:creator>msivill_splunk</dc:creator>
      <dc:date>2018-09-18T18:36:05Z</dc:date>
    </item>
  </channel>
</rss>

