<?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: Help on a REX extract - and count in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709867#M239886</link>
    <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;This helps extracting the number - how do I do the sum at the end ?&lt;/P&gt;&lt;P&gt;in 24 hours I could have 96 * 2000 file uploads&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2025 20:24:51 GMT</pubDate>
    <dc:creator>LizAndy123</dc:creator>
    <dc:date>2025-01-27T20:24:51Z</dc:date>
    <item>
      <title>Help on a REX extract - and count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709864#M239883</link>
      <description>&lt;P&gt;So I have an Index&lt;/P&gt;&lt;P&gt;Index= xxxxxx "Stopping iteration"&lt;/P&gt;&lt;P&gt;I have the rex for getting the unique Id&lt;/P&gt;&lt;P&gt;Event Sample : Stopping iteration - 1900000000: 2000 Files accepted&lt;/P&gt;&lt;P&gt;so my current REX is rex "Stopping\siteration[\s\-]+(?&amp;lt;stop_reg_id&amp;gt;[^:\s]+)" and it extracts the 1900000000&lt;/P&gt;&lt;P&gt;I want to extract the 2000 number and then do a count for 24 hours.&lt;/P&gt;&lt;P&gt;Any help would be great&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 20:02:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709864#M239883</guid>
      <dc:creator>LizAndy123</dc:creator>
      <dc:date>2025-01-27T20:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help on a REX extract - and count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709865#M239884</link>
      <description>&lt;P&gt;So basically I need the total number of files I uploaded in a 24 hour period once I get that figure extracted&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 20:08:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709865#M239884</guid>
      <dc:creator>LizAndy123</dc:creator>
      <dc:date>2025-01-27T20:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help on a REX extract - and count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709866#M239885</link>
      <description>&lt;P&gt;It would help to know what you've tried so far, but getting the other field is just a matter of extending the regex.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"Stopping\siteration[\s\-]+(?&amp;lt;stop_reg_id&amp;gt;[^:\s]+):\s*(?&amp;lt;file_count&amp;gt;\d+)"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 27 Jan 2025 20:10:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709866#M239885</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-01-27T20:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help on a REX extract - and count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709867#M239886</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;This helps extracting the number - how do I do the sum at the end ?&lt;/P&gt;&lt;P&gt;in 24 hours I could have 96 * 2000 file uploads&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 20:24:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709867#M239886</guid>
      <dc:creator>LizAndy123</dc:creator>
      <dc:date>2025-01-27T20:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help on a REX extract - and count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709868#M239887</link>
      <description>&lt;P&gt;One way is with &lt;FONT face="courier new,courier"&gt;addcoltotals&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "..."
``` more query stuff```
| addcoltotals file_count&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 20:37:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709868#M239887</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-01-27T20:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help on a REX extract - and count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709869#M239888</link>
      <description>&lt;P&gt;Hey Rich that works and I get the total at the bottom but it shows every single column also.&lt;/P&gt;&lt;P&gt;Example I had 98 Events and total was 157,000 but it shows every single event and the columns&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 20:41:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709869#M239888</guid>
      <dc:creator>LizAndy123</dc:creator>
      <dc:date>2025-01-27T20:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help on a REX extract - and count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709876#M239893</link>
      <description>&lt;P&gt;If all you want is a single integer that is the total of all file_count values then &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt; is the way to go.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "..."
``` more query stuff ```
| stats sum(file_count) as Total_Count&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 21:58:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-a-REX-extract-and-count/m-p/709876#M239893</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-01-27T21:58:41Z</dc:date>
    </item>
  </channel>
</rss>

