<?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: Fetching alphanumeric value and numeric values in aline in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677439#M231655</link>
    <description>&lt;LI-CODE lang="markup"&gt;| rex field=line "(?&amp;lt;ID&amp;gt;\w+)_ETC_RFG:.*/(?&amp;lt;NUM&amp;gt;\d+)"
| eval ETC="ETC", RFG="RFG"&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 13 Feb 2024 16:35:27 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-02-13T16:35:27Z</dc:date>
    <item>
      <title>Fetching alphanumeric value and numeric values in aline</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677311#M231597</link>
      <description>&lt;P&gt;How to extract alphanumeric and numeric values from aline,&amp;nbsp; both are dynamic values&lt;/P&gt;&lt;P&gt;&amp;lt;Alphanumeric&amp;gt;_ETC_RFG: play this message: announcement/&amp;lt;numeric&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 17:04:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677311#M231597</guid>
      <dc:creator>Arani_Hari</dc:creator>
      <dc:date>2024-02-12T17:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching alphanumeric value and numeric values in aline</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677312#M231598</link>
      <description>&lt;P&gt;regex101.com is a good site for testing regex&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 17:13:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677312#M231598</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-02-12T17:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching alphanumeric value and numeric values in aline</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677321#M231603</link>
      <description>&lt;P class="lia-indent-padding-left-30px"&gt;I tried below syntax but it's matching entire line but I want only "ID" value /(?&amp;lt;ID&amp;gt;\w+)_ETC_RFG&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 18:31:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677321#M231603</guid>
      <dc:creator>Arani_Hari</dc:creator>
      <dc:date>2024-02-12T18:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching alphanumeric value and numeric values in aline</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677340#M231610</link>
      <description>&lt;P&gt;Can you share your SPL and data. This example works&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval line="SOMEALPHA9876NUMERIC_ETC_RFG: play this message: announcement/12345678"
| rex field=line "(?&amp;lt;ID&amp;gt;\w+)_ETC_RFG:.*/(?&amp;lt;NUM&amp;gt;\d+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 21:38:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677340#M231610</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-02-12T21:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching alphanumeric value and numeric values in aline</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677357#M231615</link>
      <description>&lt;P&gt;log line will be&lt;/P&gt;&lt;P&gt;05:02:05.213 Txt 46000 008a456b37de5982_ETC_RFG: (Q056) play this message id:announcement/4637825, duration:58&lt;/P&gt;&lt;P&gt;expecting Table like&lt;/P&gt;&lt;P&gt;008a456b37de5982 ETC RFG&amp;nbsp;4637825&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 01:40:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677357#M231615</guid>
      <dc:creator>Arani_Hari</dc:creator>
      <dc:date>2024-02-13T01:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching alphanumeric value and numeric values in aline</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677376#M231619</link>
      <description>&lt;P&gt;You are not really giving us sufficient information. The rex command that&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;provided extracts the alphanumeric and numeric as you asked. Your "table" doesn't identify what the columns are called. Are ETC and RFG fixed non-varying constant strings? Do these need to be in separate fields in the table? Please clarify your requirement, although, tbh, you already appear to have been given a workable solution.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 09:24:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677376#M231619</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-02-13T09:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching alphanumeric value and numeric values in aline</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677432#M231650</link>
      <description>&lt;P&gt;sorry, if i confused. Yes,&amp;nbsp;&lt;SPAN&gt;ETC and RFG are fixed and need to add in table&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Log Line:&lt;/P&gt;
&lt;P&gt;05:02:05.213 Txt 46000 008a456b37de5982_ETC_RFG: (Q056) play this message id:announcement/4637825, duration:58&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i tired to get result with below query,&amp;nbsp; but not working properly&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=dg_hdgf_yrgt "(Q056) play this message" | rex field=_raw "Txt\s+46000\s+(?&amp;lt;IDvalue&amp;gt;\w+)" | rex field=_raw "announcement/(?&amp;lt;messagefile&amp;gt;\d+)"
| where NOT isnull(messagefile)
| mvexpand IDvalue
| makemv IDvalue delim="_"
| eval IDvalue=mvindex(IDvalue,0)
| eval ENV=mvindex(IDvalue,1)
| eval LOB=mvindex(IDvalue,2)
| search LOB=RFG
| table IDvalue,ENV,LOB,messagefile&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 13 Feb 2024 17:12:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677432#M231650</guid>
      <dc:creator>Arani_Hari</dc:creator>
      <dc:date>2024-02-13T17:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching alphanumeric value and numeric values in aline</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677439#M231655</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex field=line "(?&amp;lt;ID&amp;gt;\w+)_ETC_RFG:.*/(?&amp;lt;NUM&amp;gt;\d+)"
| eval ETC="ETC", RFG="RFG"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 13 Feb 2024 16:35:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fetching-alphanumeric-value-and-numeric-values-in-aline/m-p/677439#M231655</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-02-13T16:35:27Z</dc:date>
    </item>
  </channel>
</rss>

