<?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 extract field values in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/extract-field-values/m-p/712730#M58302</link>
    <description>&lt;P&gt;Hello, I’m trying to only pull a spefic &lt;FONT color="#800000"&gt;value&lt;/FONT&gt; from the msgTxt log. In the log below, the example is 2024. This value does change and could be one digit or up to 6 digits.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;msgTxt =&amp;nbsp;&lt;SPAN class=""&gt;xx&lt;SPAN class=""&gt;iskServicxxxapper - MxxeNext completed in &lt;FONT color="#800000"&gt;&lt;STRONG&gt;2024&lt;/STRONG&gt;&lt;/FONT&gt; ms. (request details: environment: Production | desired services: BusixxxsOwnexxxerritory | property type: Commercial | address: x RxxxDANx DR , xxxSHFIELD , xx 02xx0)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Below is the search I'm trying to use but its not working. Any help would be apreseated.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;| eval msgTxt="&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;msgTxt&lt;/SPAN&gt;:&amp;nbsp;xx&lt;SPAN class=""&gt;iskServicxxxapper - MxxeNext completed in &lt;FONT color="#800000"&gt;&lt;STRONG&gt;2024&lt;/STRONG&gt;&lt;/FONT&gt; ms. (request details: environment: Production | desired services: BusixxxsOwnexxxerritory*&lt;/SPAN&gt;&lt;/SPAN&gt;"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| rex "in=(?&amp;lt;in&amp;gt;\w+)."&lt;/EM&gt;&lt;BR /&gt;| stats count by in&lt;/P&gt;</description>
    <pubDate>Thu, 27 Feb 2025 19:04:35 GMT</pubDate>
    <dc:creator>msarkaus</dc:creator>
    <dc:date>2025-02-27T19:04:35Z</dc:date>
    <item>
      <title>extract field values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/extract-field-values/m-p/712730#M58302</link>
      <description>&lt;P&gt;Hello, I’m trying to only pull a spefic &lt;FONT color="#800000"&gt;value&lt;/FONT&gt; from the msgTxt log. In the log below, the example is 2024. This value does change and could be one digit or up to 6 digits.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;msgTxt =&amp;nbsp;&lt;SPAN class=""&gt;xx&lt;SPAN class=""&gt;iskServicxxxapper - MxxeNext completed in &lt;FONT color="#800000"&gt;&lt;STRONG&gt;2024&lt;/STRONG&gt;&lt;/FONT&gt; ms. (request details: environment: Production | desired services: BusixxxsOwnexxxerritory | property type: Commercial | address: x RxxxDANx DR , xxxSHFIELD , xx 02xx0)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Below is the search I'm trying to use but its not working. Any help would be apreseated.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;| eval msgTxt="&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;msgTxt&lt;/SPAN&gt;:&amp;nbsp;xx&lt;SPAN class=""&gt;iskServicxxxapper - MxxeNext completed in &lt;FONT color="#800000"&gt;&lt;STRONG&gt;2024&lt;/STRONG&gt;&lt;/FONT&gt; ms. (request details: environment: Production | desired services: BusixxxsOwnexxxerritory*&lt;/SPAN&gt;&lt;/SPAN&gt;"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| rex "in=(?&amp;lt;in&amp;gt;\w+)."&lt;/EM&gt;&lt;BR /&gt;| stats count by in&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 19:04:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/extract-field-values/m-p/712730#M58302</guid>
      <dc:creator>msarkaus</dc:creator>
      <dc:date>2025-02-27T19:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: extract field values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/extract-field-values/m-p/712732#M58303</link>
      <description>&lt;P&gt;You're very close.&amp;nbsp; Use &lt;FONT face="courier new,courier"&gt;\d&lt;/FONT&gt; (digit) in place of &lt;FONT face="courier new,courier"&gt;\w&lt;/FONT&gt; (word).&amp;nbsp; Also, remove the '=' since there is no such character in the data.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "in (?&amp;lt;in&amp;gt;\d+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 19:30:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/extract-field-values/m-p/712732#M58303</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-02-27T19:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: extract field values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/extract-field-values/m-p/712733#M58304</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 19:34:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/extract-field-values/m-p/712733#M58304</guid>
      <dc:creator>msarkaus</dc:creator>
      <dc:date>2025-02-27T19:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: extract field values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/extract-field-values/m-p/740834#M58339</link>
      <description>&lt;P&gt;Sorry to be a bother, but what if there is a special char like = involved. I can't add the equal sign into my search query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;| eval msxxxt="*Action=GexxxxdledxxxxReport Duration&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/FONT&gt;853*"&lt;BR /&gt;| rex "Duration (&amp;lt;?Duration&amp;gt;\d+)"&lt;BR /&gt;| timechart span=1h avg(Duration) AS avg_response by msxxxt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your help&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 20:10:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/extract-field-values/m-p/740834#M58339</guid>
      <dc:creator>msarkaus</dc:creator>
      <dc:date>2025-03-04T20:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: extract field values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/extract-field-values/m-p/740870#M58340</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;search&lt;/FONT&gt; command cannot search for '*'.&amp;nbsp; The '=' character also is a challenge.&amp;nbsp; You can, however, use &lt;FONT face="courier new,courier"&gt;regex&lt;/FONT&gt; to filter on these and other "special" characters.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval msxxxt="*Action=GexxxxdledxxxxReport Duration=853*"
| regex "="
| rex "Duration (&amp;lt;?Duration&amp;gt;\d+)"
| timechart span=1h avg(Duration) AS avg_response by msxxxt&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 05 Mar 2025 01:02:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/extract-field-values/m-p/740870#M58340</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-03-05T01:02:05Z</dc:date>
    </item>
  </channel>
</rss>

