<?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 do you extract the value of output quality from the log below? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-the-value-of-output-quality-from-the-log/m-p/448225#M127003</link>
    <description>&lt;P&gt;rex &lt;CODE&gt;field=logs&lt;/CODE&gt; max_match=0 &lt;/P&gt;

&lt;P&gt;You should use the field which contains the logs.. or "_raw"&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;rex field=_raw max_match=0&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Oct 2018 09:21:25 GMT</pubDate>
    <dc:creator>inventsekar</dc:creator>
    <dc:date>2018-10-30T09:21:25Z</dc:date>
    <item>
      <title>How do you extract the value of output quality from the log below?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-the-value-of-output-quality-from-the-log/m-p/448222#M127000</link>
      <description>&lt;P&gt;I want to extract the value of Output Quality from the below log.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Critical-Lab checkRcReady for batchId ==&amp;gt;9a508f01-4e93-4d76-9a9d-fe1cf8bd0550==true :: Output Quality 0.0%"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Output Quality is 0.0%. I want to extract this value. How do you do it with regex?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 06:21:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-the-value-of-output-quality-from-the-log/m-p/448222#M127000</guid>
      <dc:creator>abhishekgandhe</dc:creator>
      <dc:date>2018-10-29T06:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you extract the value of output quality from the log below?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-the-value-of-output-quality-from-the-log/m-p/448223#M127001</link>
      <description>&lt;P&gt;Update- included the max_match - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults | eval logs = "batchId ==&amp;gt;ceba8481-7806-4b03-a8c9-811bdc340a05==true :: Output Quality 7.2%
batchId ==&amp;gt;04b0800f-74e2-4522-bfd0-9621af9d4536==true :: Output Quality 9.5%
batchId ==&amp;gt;d66872a1-4cf7-433c-a86d-d7ac097537d8==true :: Output Quality 34.28%
batchId ==&amp;gt;3d4606ec-f607-4187-9f58-47d88f99ac0a==true :: Output Quality 90.34%"
 | rex field=logs max_match=0 "Output Quality (?P&amp;lt;Quality&amp;gt;\d+\.\d+\%)" | table Quality logs
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5991i06727A68428B3A61/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 11:16:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-the-value-of-output-quality-from-the-log/m-p/448223#M127001</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2018-10-29T11:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do you extract the value of output quality from the log below?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-the-value-of-output-quality-from-the-log/m-p/448224#M127002</link>
      <description>&lt;P&gt;I just don't have 4 lines, but there are multiple lines. How to write one REGEX.&lt;BR /&gt;
I tried below REGEX, but could not got the desired result.&lt;/P&gt;

&lt;P&gt;index="cpsprod"  sourcetype="mscs:storage:blob:cps-qa-rc-calc" "batchId ==&amp;gt;""==true :: Output Quality" |  rex field=logs max_match=0 "Output Quality (?P\d+.\d+\%)" | table Quality&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 06:43:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-the-value-of-output-quality-from-the-log/m-p/448224#M127002</guid>
      <dc:creator>abhishekgandhe</dc:creator>
      <dc:date>2018-10-30T06:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do you extract the value of output quality from the log below?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-the-value-of-output-quality-from-the-log/m-p/448225#M127003</link>
      <description>&lt;P&gt;rex &lt;CODE&gt;field=logs&lt;/CODE&gt; max_match=0 &lt;/P&gt;

&lt;P&gt;You should use the field which contains the logs.. or "_raw"&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;rex field=_raw max_match=0&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 09:21:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-extract-the-value-of-output-quality-from-the-log/m-p/448225#M127003</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2018-10-30T09:21:25Z</dc:date>
    </item>
  </channel>
</rss>

