<?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: What are the fields in _audit that specify the interval for each search? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/What-are-the-fields-in-audit-that-specify-the-interval-for-each/m-p/748799#M10959</link>
    <description>&lt;P&gt;Check out the &lt;FONT face="courier new,courier"&gt;search_et&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;search_lt&lt;/FONT&gt; fields.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jun 2025 15:49:42 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2025-06-26T15:49:42Z</dc:date>
    <item>
      <title>What are the fields in _audit that specify the interval for each search?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-are-the-fields-in-audit-that-specify-the-interval-for-each/m-p/748798#M10958</link>
      <description>&lt;P&gt;We would like to produce statistics about the usage of Splunk and we would like to categorize the searches by ranges, whether they cover the last day, past week or past month, and I wonder which fields in _audit provide the beginning and end interval of the search.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 15:36:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-are-the-fields-in-audit-that-specify-the-interval-for-each/m-p/748798#M10958</guid>
      <dc:creator>danielbb</dc:creator>
      <dc:date>2025-06-26T15:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: What are the fields in _audit that specify the interval for each search?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-are-the-fields-in-audit-that-specify-the-interval-for-each/m-p/748799#M10959</link>
      <description>&lt;P&gt;Check out the &lt;FONT face="courier new,courier"&gt;search_et&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;search_lt&lt;/FONT&gt; fields.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 15:49:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-are-the-fields-in-audit-that-specify-the-interval-for-each/m-p/748799#M10959</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-06-26T15:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: What are the fields in _audit that specify the interval for each search?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-are-the-fields-in-audit-that-specify-the-interval-for-each/m-p/748801#M10960</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/196884"&gt;@danielbb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could start with something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_audit action=search info=completed search_et!="N/A" 
| eval time_span=search_lt-search_et
| eval time_span_group=case(
    time_span&amp;lt;3600, "&amp;lt;1hr",
    time_span&amp;gt;=3600 AND time_span&amp;lt;7200, "1-2hrs",
    time_span&amp;gt;=7200 AND time_span&amp;lt;43200, "&amp;lt;12hrs",
    time_span&amp;gt;=43200 AND time_span&amp;lt;86400, "&amp;lt;24hrs",
    time_span&amp;gt;=86400 AND time_span&amp;lt;259200, "&amp;lt;3days",
    time_span&amp;gt;=259200 AND time_span&amp;lt;604800, "&amp;lt;7days",
    time_span&amp;gt;=604800 AND time_span&amp;lt;2592000, "&amp;lt;30days",
    time_span&amp;gt;=2592000 AND time_span&amp;lt;7776000, "&amp;lt;90days",
    time_span&amp;gt;=7776000 AND time_span&amp;lt;31536000, "&amp;lt;1year",
    time_span&amp;gt;=31536000, "more"
)
| stats count by time_span_group&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="livehybrid_0-1750953124820.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39503iD5460EC793343A4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="livehybrid_0-1750953124820.png" alt="livehybrid_0-1750953124820.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 15:52:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-are-the-fields-in-audit-that-specify-the-interval-for-each/m-p/748801#M10960</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-06-26T15:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: What are the fields in _audit that specify the interval for each search?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-are-the-fields-in-audit-that-specify-the-interval-for-each/m-p/748813#M10961</link>
      <description>&lt;P&gt;Amazing! thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 16:24:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-are-the-fields-in-audit-that-specify-the-interval-for-each/m-p/748813#M10961</guid>
      <dc:creator>danielbb</dc:creator>
      <dc:date>2025-06-26T16:24:50Z</dc:date>
    </item>
  </channel>
</rss>

