<?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: Search Stats with _raw field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-Stats-with-raw-field/m-p/605643#M210617</link>
    <description>&lt;P&gt;Check that the method field has actually been extracted&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jul 2022 16:27:55 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-07-14T16:27:55Z</dc:date>
    <item>
      <title>Search Stats with _raw field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Stats-with-raw-field/m-p/605639#M210615</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my search I'm trying to get a series of events (transact - which is in the _raw field) counted out by another field in _raw for GET or POST. This is what I'm currently using:&amp;nbsp;&lt;/P&gt;&lt;P&gt;host="EXAMPLE-*" sourcetype=Hex4 /ps/* | rex mode=sed field=_raw "s/(\S+)(tx_\S+)(\/\S+)/\1trans\3/g" | rex mode=sed field=_raw "s/(\S+)(nce_\S+)(\/\S+)/\1nce\3/g" | rex mode=sed field=_raw "s/(\S+)(dce_\S+)(\/\S+)/\1dvc\3/g" | rex "POST (?&amp;lt;transact&amp;gt;\S+)" | stats count(eval(method="GET")) as GET, count(eval(method="POST")) as POST by transact&lt;/P&gt;&lt;P&gt;It does bring up the transactions and columns for GET and POST, but the counts are blank so I know I'm doing something wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 16:12:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Stats-with-raw-field/m-p/605639#M210615</guid>
      <dc:creator>mcscjlf</dc:creator>
      <dc:date>2022-07-14T16:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Search Stats with _raw field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Stats-with-raw-field/m-p/605643#M210617</link>
      <description>&lt;P&gt;Check that the method field has actually been extracted&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 16:27:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Stats-with-raw-field/m-p/605643#M210617</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-07-14T16:27:55Z</dc:date>
    </item>
  </channel>
</rss>

