<?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 calculate transaction per second for my search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-transaction-per-second-for-my-search/m-p/318130#M95203</link>
    <description>&lt;P&gt;How to calculate how many seconds already run in my search? That is what I want.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2017 23:42:06 GMT</pubDate>
    <dc:creator>abzmhzsplunk</dc:creator>
    <dc:date>2017-02-24T23:42:06Z</dc:date>
    <item>
      <title>How to calculate transaction per second for my search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-transaction-per-second-for-my-search/m-p/318126#M95199</link>
      <description>&lt;P&gt;for the search &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* some_events | stats count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;how to calculate the transaction per second for this search (how to get how many seconds for the search job)? &lt;BR /&gt;
tried to use &lt;CODE&gt;|addinfo | eval t=info_max_time - info_min_time&lt;/CODE&gt; but couldn't get it to work.&lt;BR /&gt;
please help.&lt;BR /&gt;
thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 19:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-transaction-per-second-for-my-search/m-p/318126#M95199</guid>
      <dc:creator>abzmhzsplunk</dc:creator>
      <dc:date>2017-02-24T19:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate transaction per second for my search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-transaction-per-second-for-my-search/m-p/318127#M95200</link>
      <description>&lt;P&gt;Are you trying to calculate, for your search, number of rows in the base search/time it took to execute; OR just for your events, how many events are coming to your indexes per second (count/time range in secs)?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 21:07:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-transaction-per-second-for-my-search/m-p/318127#M95200</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-24T21:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate transaction per second for my search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-transaction-per-second-for-my-search/m-p/318128#M95201</link>
      <description>&lt;P&gt;Here is what I tried&lt;BR /&gt;
index=*  | addinfo | eval t=info_max_time - info_min_time  | stats count as ct | eval tps=ct/t |table ct, tps&lt;/P&gt;

&lt;P&gt;I want to find out total count for the search and the time of the search, then calculate tps="total count" / "time in seconds for the search"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:01:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-transaction-per-second-for-my-search/m-p/318128#M95201</guid>
      <dc:creator>abzmhzsplunk</dc:creator>
      <dc:date>2020-09-29T13:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate transaction per second for my search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-transaction-per-second-for-my-search/m-p/318129#M95202</link>
      <description>&lt;P&gt;&lt;CODE&gt;addinfo&lt;/CODE&gt; doesn't tell you anything about how long it took your search to run - it gives some access to information about your search, but not that.&lt;/P&gt;

&lt;P&gt;An administrator can tell how long a search ran by looking in the _audit index like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=search user!="splunk-system-user" info=completed
| table user search_id total_run_time exec_time scan_count event_count _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I used the table just to show an example of the results...&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 22:48:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-transaction-per-second-for-my-search/m-p/318129#M95202</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2017-02-24T22:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate transaction per second for my search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-transaction-per-second-for-my-search/m-p/318130#M95203</link>
      <description>&lt;P&gt;How to calculate how many seconds already run in my search? That is what I want.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 23:42:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-transaction-per-second-for-my-search/m-p/318130#M95203</guid>
      <dc:creator>abzmhzsplunk</dc:creator>
      <dc:date>2017-02-24T23:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate transaction per second for my search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-transaction-per-second-for-my-search/m-p/318131#M95204</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* | addinfo | eval t=info_max_time - info_min_time | stats count as ct max(t) as t | eval tps=ct/t |table ct, tps
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Feb 2017 23:44:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-transaction-per-second-for-my-search/m-p/318131#M95204</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-24T23:44:37Z</dc:date>
    </item>
  </channel>
</rss>

