<?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: Is there a way I can see how much data is being searched per index? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-I-can-see-how-much-data-is-being-searched-per/m-p/424531#M121743</link>
    <description>&lt;P&gt;Above query doesn't give the size of data searched per index, it just shares count on number time index used. &lt;/P&gt;

&lt;P&gt;Purpose is to validate, data stored vs data actually searched. This is to check abuse on capacity utilization. &lt;BR /&gt;
Any other recommendation will be welcome!&lt;BR /&gt;
Thanks &lt;/P&gt;</description>
    <pubDate>Fri, 25 Jan 2019 19:51:14 GMT</pubDate>
    <dc:creator>ssagar1009</dc:creator>
    <dc:date>2019-01-25T19:51:14Z</dc:date>
    <item>
      <title>Is there a way I can see how much data is being searched per index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-I-can-see-how-much-data-is-being-searched-per/m-p/424529#M121741</link>
      <description>&lt;P&gt;Is there a way I can see how much data is being searched per index?&lt;/P&gt;

&lt;P&gt;Eg: for an index, a user has searched 10 GB of data over the last 1 hour in across 15 search queries. &lt;/P&gt;

&lt;P&gt;An index has 100 GB of data, but the last 1-day user searched only 100 MB in the search result.&lt;/P&gt;

&lt;P&gt;or Index has 100  GB of data, but user searched too often and search a total of 120 GB of data. &lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 00:21:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-I-can-see-how-much-data-is-being-searched-per/m-p/424529#M121741</guid>
      <dc:creator>ssagar1009</dc:creator>
      <dc:date>2019-01-25T00:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way I can see how much data is being searched per index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-I-can-see-how-much-data-is-being-searched-per/m-p/424530#M121742</link>
      <description>&lt;P&gt;Please execute the following search sentence. Only inaccurate information on this level can be acquired.&lt;/P&gt;

&lt;P&gt;I do not know the purpose, but I recommend you to review alternative proposals.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=search search=* sourcetype=audittrail    
| rex field=search "index\s*=\s*\"*(?&amp;lt;IndexUsed&amp;gt;[^\s\"]+)" 
| search IndexUsed=*  
| fillnull value="NA" IndexUsed 
| stats count  by IndexUsed
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Jan 2019 01:09:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-I-can-see-how-much-data-is-being-searched-per/m-p/424530#M121742</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2019-01-25T01:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way I can see how much data is being searched per index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-I-can-see-how-much-data-is-being-searched-per/m-p/424531#M121743</link>
      <description>&lt;P&gt;Above query doesn't give the size of data searched per index, it just shares count on number time index used. &lt;/P&gt;

&lt;P&gt;Purpose is to validate, data stored vs data actually searched. This is to check abuse on capacity utilization. &lt;BR /&gt;
Any other recommendation will be welcome!&lt;BR /&gt;
Thanks &lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 19:51:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-I-can-see-how-much-data-is-being-searched-per/m-p/424531#M121743</guid>
      <dc:creator>ssagar1009</dc:creator>
      <dc:date>2019-01-25T19:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way I can see how much data is being searched per index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-I-can-see-how-much-data-is-being-searched-per/m-p/424532#M121744</link>
      <description>&lt;P&gt;I can tell you generally how to do this, but it seems crazy to me and there doesn't seem to be any useful reason to do this.  You start by use a REST query to tell you what searches have run recently.  Then you query the job details REST API to get access to the &lt;CODE&gt;search.log&lt;/CODE&gt; for the job.  In there it will tell you the &lt;CODE&gt;number of events scanned&lt;/CODE&gt;.  You can then get the &lt;CODE&gt;optimized search&lt;/CODE&gt; from the same log and hopefully get a &lt;CODE&gt;sourcetype&lt;/CODE&gt; from there.  Then you can perform a search using &lt;CODE&gt;avg(len(_raw)&lt;/CODE&gt; against that sourcetype and multiply this iw the &lt;CODE&gt;events scanned&lt;/CODE&gt; number.   That is probably the best that you can do it is making many assumptions and not going to be too accurate.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 21:11:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-I-can-see-how-much-data-is-being-searched-per/m-p/424532#M121744</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-25T21:11:38Z</dc:date>
    </item>
  </channel>
</rss>

