<?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: Will you help me create the regex to convert the following data into a column value pair? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Will-you-help-me-create-the-regex-to-convert-the-following-data/m-p/444087#M125948</link>
    <description>&lt;P&gt;See if this helps.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=foo | rex "(?&amp;lt;ESBTransactionID&amp;gt;^\d{8})" | table ESBTransactionID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 21 Dec 2018 18:37:11 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2018-12-21T18:37:11Z</dc:date>
    <item>
      <title>Will you help me create the regex to convert the following data into a column value pair?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Will-you-help-me-create-the-regex-to-convert-the-following-data/m-p/444085#M125946</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Below is my sample payload. I want to convert/display it into a column value pair.&lt;BR /&gt;
Eg, ESBTransactionID&lt;BR /&gt;
       75010569&lt;/P&gt;

&lt;P&gt;Any help is appreciated.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;75010569\n  OCS\n  \n    Update\n    TKT\n    TKT\n    \n      OCS Driver\n    \n    OCS Driver\n  \n  000141076513003\n  false\n  \n    \n      R_SUBBED\n      TKT
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Dec 2018 17:23:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Will-you-help-me-create-the-regex-to-convert-the-following-data/m-p/444085#M125946</guid>
      <dc:creator>ppanchal</dc:creator>
      <dc:date>2018-12-21T17:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Will you help me create the regex to convert the following data into a column value pair?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Will-you-help-me-create-the-regex-to-convert-the-following-data/m-p/444086#M125947</link>
      <description>&lt;P&gt;Like this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your search here
| rex "^(?&amp;lt;ESBTransactionID&amp;gt;\d+)"
| table ESBTransactionID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Dec 2018 18:17:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Will-you-help-me-create-the-regex-to-convert-the-following-data/m-p/444086#M125947</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-12-21T18:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Will you help me create the regex to convert the following data into a column value pair?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Will-you-help-me-create-the-regex-to-convert-the-following-data/m-p/444087#M125948</link>
      <description>&lt;P&gt;See if this helps.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=foo | rex "(?&amp;lt;ESBTransactionID&amp;gt;^\d{8})" | table ESBTransactionID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Dec 2018 18:37:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Will-you-help-me-create-the-regex-to-convert-the-following-data/m-p/444087#M125948</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-12-21T18:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Will you help me create the regex to convert the following data into a column value pair?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Will-you-help-me-create-the-regex-to-convert-the-following-data/m-p/444088#M125949</link>
      <description>&lt;P&gt;| MAKERESULTS &lt;BR /&gt;
| Eval s="75010569\n OCS\n \n Update\n TKT\n TKT\n \n OCS Driver\n \n OCS Driver\n \n 000141076513003\n false\n \n \n R_SUBBED\n TKT" |rex mode=sed field=s "s/\\n /=/g" | rex field=s max_match=0 "(?[^=]+)=(?[^=]+)" |fields transaction VALUE | fields - _time&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:27:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Will-you-help-me-create-the-regex-to-convert-the-following-data/m-p/444088#M125949</guid>
      <dc:creator>valiquet</dc:creator>
      <dc:date>2020-09-29T22:27:38Z</dc:date>
    </item>
  </channel>
</rss>

