<?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: Total time taken per request in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Total-time-taken-per-request/m-p/551610#M156535</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234436"&gt;@puneetgureja&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know if your field are extracted&lt;/P&gt;&lt;P&gt;if the field are extracted you only need a eval condition&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;eval "Total time taken"=Total_Time_Taken/ No_Of_Requests&lt;/LI-CODE&gt;&lt;P&gt;if you need to extract the fields before needs a rex comand&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=_raw "No_Of_Requests=(?&amp;lt;no_of_requests&amp;gt;\d+),Total_Time_Taken=(?&amp;lt;total_time_taken&amp;gt;\d+)" | eval "Total time taken"=Total_Time_Taken/ No_Of_Requests&lt;/LI-CODE&gt;&lt;P&gt;anyway I suggest to extract the field with an automatic KEy-value extraction&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.3/Knowledge/Automatickey-valuefieldextractionsatsearch-time" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.3/Knowledge/Automatickey-valuefieldextractionsatsearch-time&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 May 2021 14:16:10 GMT</pubDate>
    <dc:creator>aasabatini</dc:creator>
    <dc:date>2021-05-14T14:16:10Z</dc:date>
    <item>
      <title>Total time taken per request</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Total-time-taken-per-request/m-p/551605#M156532</link>
      <description>&lt;P&gt;new to Splunk so want to know how I can fetch total time take per request&amp;nbsp;&lt;/P&gt;&lt;P&gt;applog.msg=XXXX_Logs,CorrelationId=XXXXXXXXXX,URL=XXXX.com,ServiceKey=xyzService,No_Of_Requests=4,Total_Time_Taken=3&lt;/P&gt;&lt;P&gt;Total time taken =&amp;nbsp;Total_Time_Taken/&amp;nbsp;No_Of_Requests&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 13:42:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Total-time-taken-per-request/m-p/551605#M156532</guid>
      <dc:creator>puneetgureja</dc:creator>
      <dc:date>2021-05-14T13:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Total time taken per request</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Total-time-taken-per-request/m-p/551610#M156535</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234436"&gt;@puneetgureja&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know if your field are extracted&lt;/P&gt;&lt;P&gt;if the field are extracted you only need a eval condition&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;eval "Total time taken"=Total_Time_Taken/ No_Of_Requests&lt;/LI-CODE&gt;&lt;P&gt;if you need to extract the fields before needs a rex comand&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=_raw "No_Of_Requests=(?&amp;lt;no_of_requests&amp;gt;\d+),Total_Time_Taken=(?&amp;lt;total_time_taken&amp;gt;\d+)" | eval "Total time taken"=Total_Time_Taken/ No_Of_Requests&lt;/LI-CODE&gt;&lt;P&gt;anyway I suggest to extract the field with an automatic KEy-value extraction&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.3/Knowledge/Automatickey-valuefieldextractionsatsearch-time" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.3/Knowledge/Automatickey-valuefieldextractionsatsearch-time&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 14:16:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Total-time-taken-per-request/m-p/551610#M156535</guid>
      <dc:creator>aasabatini</dc:creator>
      <dc:date>2021-05-14T14:16:10Z</dc:date>
    </item>
  </channel>
</rss>

