<?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: Field Extraction from SQL Coded Events in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565957#M197213</link>
    <description>&lt;P&gt;You are awesome, thank you so much.&amp;nbsp; &amp;nbsp;But, these events are under &lt;STRONG&gt;index=cdsw&lt;/STRONG&gt;&amp;nbsp; and was trying to extract those fields from that events and I wrote this (just added index=cdsw at the beginning).... but not working.....&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=cdsw |&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;| makeresults | eval _raw="N17CNB_L_0__20210630-235521_5826.html@^@^2021/06/30@^@^23:55:21@^@^ N17CNB @^@^select \"a\".\"basetin\",\"w2nonus\",\"w2maxdistoff\",\"ssanonus\",\"ssamaxdistoff\",\"f1099rnonus\",\"f1099rmaxdistoff\",\"f1099miscnonus\",\"f1099miscmaxdistoff\",\"f1099gnonus\",\"f1099gmaxdistoff\",\"f1099intnonus\",\"f1099intmaxdistoff\",\"f1099oidnonus\",\"f1099oidmaxdistoff\",\"f1041k1nonus\",\"f1041k1maxdistoff\",\"wages_w2\",\"allocated_tips_w2\",\"medicare_wages_w2\",\"taxable_fica_tips_w2\",\"WITHHLDG_w2\",\"pens_annties_f1099_ssa_rrb\",\"withhldg_f1099_ssa_rrb\",\"gross_distrib_f1099r\",\"taxable_amt_f1099r\",\"WITHHLDG_f1099r\",\"non_emp_compensation_f1099misc\",\"othincome_f1099misc\",\"rents_f1099misc\",\"royalties_f1099misc\",\"crop_insurance_f1099misc\",\"WITHHLDG_f1099misc\",\"taxbl_grant_f1099g\",\"UNEMP_COMP_f1099g\",\"prior_refnd_f1099g\",\"agr_subsds_f1099g\",\"atta_pymnt_f1099g\",\"WITHHLDG_f1099g\",\"interest_f1099int\",\"savings_bonds_f1099int\",\"WITHHLDG_f1099int\",\"interest_f1099oid\",\"withhldg_f1099oid\",\"interest_f1041_k1\",\"bus_inc_f1041_k1\",\"net_rental_f1041_k1\",\"oth_prtflo_f1041_k1\",\"oth_rental_f1041_k1\" into #TEMP8 from(select \"basetin\",\"w2nonus\",\"w2maxdistoff\",\"ssanonus\",\"ssamaxdistoff\",\"f1099rnonus\",\"f1099rmaxdistoff\",\"f1099miscnonus\",\"f1099miscmaxdistoff\",\"f1099gnonus\",\"f1099gmaxdistoff\",\"f1099intnonus\",\"f1099intmaxdistoff\",\"f1099oidnonus\",\"f1099oidmaxdistoff\",\"wages_w2\",\"allocated_tips_w2\",\"medicare_wages_w2\",\"taxable_fica_tips_w2\",\"WITHHLDG_w2\",\"pens_annties_f1099_ssa_rrb\",\"withhldg_f1099_ssa_rrb\",\"gross_distrib_f1099r\",\"taxable_amt_f1099r\",\"WITHHLDG_f1099r\",\"non_emp_compensation_f1099misc\",\"othincome_f1099misc\",\"rents_f1099misc\",\"royalties_f1099misc\",\"crop_insurance_f1099misc\",\"WITHHLDG_f1099misc\",\"taxbl_grant_f1099g\",\"UNEMP_COMP_f1099g\",\"prior_refnd_f1099g\",\"agr_subsds_f1099g\",\"atta_pymnt_f1099g\",\"WITHHLDG_f1099g\",\"interest_f1099int\",\"savings_bonds_f1099int\",\"WITHHLDG_f1099int\",\"interest_f1099oid\",\"withhldg_f1099oid\" from #TEMP7) as \"A\" left outer join(select \"tin\",\"min\"(case when \"f1041k1nonus\" = 1 then 1 else 0 end) as \"f1041k1nonus\",\"max\"(case when \"f1041k1maxdistoff\" = 1 then 1 when \"f1041k1maxdistoff\" = 2 then 2 when \"f1041k1maxdistoff\" = 3 then 3 when \"f1041k1maxdistoff\" = 4 then 4 when \"f1041k1maxdistoff\" = 5 then 5 else 0 end) as \"f1041k1maxdistoff\",\"sum\"(\"interest_f1041_k1\") as \"interest_f1041_k1\",\"sum\"(\"bus_inc_f1041_k1\") as \"bus_inc_f1041_k1\",\"sum\"(\"net_rental_f1041_k1\") as \"net_rental_f1041_k1\",\"sum\"(\"oth_prtflo_f1041_k1\") as \"oth_prtflo_f1041_k1\",\"sum\"(\"oth_rental_f1041_k1\") as \"oth_rental_f1041_k1\" from #TEMP8A group by \"tin\") as \"B\" on \"a\".\"basetin\" = \"b\".\"tin\"@^@^D7CNB.#TEMP8|Temp D7CNB.#TEMP7 AS A|Temp  N17CNB.#TEMP8A@^@^"
| rex "select (?&amp;lt;select&amp;gt;.*) into"
| rex field=select max_match=0 "(?&amp;lt;SQLField&amp;gt;[^,]+),"
| eval SQLField=mvmap(SQLField, trim(SQLField,"\""))
| table SQLfield&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Sep 2021 00:42:16 GMT</pubDate>
    <dc:creator>SplunkDash</dc:creator>
    <dc:date>2021-09-06T00:42:16Z</dc:date>
    <item>
      <title>Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565863#M197169</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have some issues to extract fields from this SQL coded events. Is there any way we can perform field extraction on these events?&amp;nbsp; Two sample events are given below. Thank you so much, any help will be highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;A href="mailto:Q17CNB_L_0__20210630-235755_5828.html@%5e@%5e2021/06/30@%5e@%5e23:57:55@%5e@%5eD7CNB@%5e@%5eselect" target="_blank"&gt;Q17CNB_L_0__20210630-235755_5828.html@^@^2021/06/30@^@^23:57:55@^@^&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Q17CNB @^@^select&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;"a"."basetin","w2nonus","w2maxdistoff","ssanonus","ssamaxdistoff","f1099rnonus","f1099rmaxdistoff","f1099miscnonus","f1099miscmaxdistoff","f1099gnonus","f1099gmaxdistoff","f1099intnonus","f1099intmaxdistoff","f1099oidnonus","f1099oidmaxdistoff","f1041k1nonus","f1041k1maxdistoff","f1065k1nonus","f1065k1maxdistoff","wages_w2","allocated_tips_w2","medicare_wages_w2","taxable_fica_tips_w2","WITHHLDG_w2","pens_annties_f1099_ssa_rrb","withhldg_f1099_ssa_rrb","gross_distrib_f1099r","taxable_amt_f1099r","WITHHLDG_f1099r","non_emp_compensation_f1099misc","othincome_f1099misc","rents_f1099misc","royalties_f1099misc","crop_insurance_f1099misc","WITHHLDG_f1099misc","taxbl_grant_f1099g","UNEMP_COMP_f1099g","prior_refnd_f1099g","agr_subsds_f1099g","atta_pymnt_f1099g","WITHHLDG_f1099g","interest_f1099int","savings_bonds_f1099int","WITHHLDG_f1099int","interest_f1099oid","withhldg_f1099oid","interest_f1041_k1","bus_inc_f1041_k1","net_rental_f1041_k1","oth_prtflo_f1041_k1","oth_rental_f1041_k1","interest_f1065_k1","guarpaymt_f1065_k1","ord_inc_f1065_k1","othrental_f1065_k1","realestate_f1065_k1","royalties_f1065_k1","section179_f1065_k1" into #TEMP9 from(select "basetin","w2nonus","w2maxdistoff","ssanonus","ssamaxdistoff","f1099rnonus","f1099rmaxdistoff","f1099miscnonus","f1099miscmaxdistoff","f1099gnonus","f1099gmaxdistoff","f1099intnonus","f1099intmaxdistoff","f1099oidnonus","f1099oidmaxdistoff","f1041k1nonus","f1041k1maxdistoff","wages_w2","allocated_tips_w2","medicare_wages_w2","taxable_fica_tips_w2","WITHHLDG_w2","pens_annties_f1099_ssa_rrb","withhldg_f1099_ssa_rrb","gross_distrib_f1099r","taxable_amt_f1099r","WITHHLDG_f1099r","non_emp_compensation_f1099misc","othincome_f1099misc","rents_f1099misc","royalties_f1099misc","crop_insurance_f1099misc","WITHHLDG_f1099misc","taxbl_grant_f1099g","UNEMP_COMP_f1099g","prior_refnd_f1099g","agr_subsds_f1099g","atta_pymnt_f1099g","WITHHLDG_f1099g","interest_f1099int","savings_bonds_f1099int","WITHHLDG_f1099int","interest_f1099oid","withhldg_f1099oid","interest_f1041_k1","bus_inc_f1041_k1","net_rental_f1041_k1","oth_prtflo_f1041_k1","oth_rental_f1041_k1" from #TEMP8) as "A" left outer join(select "tin","min"(case when "f1065k1nonus" = 1 then 1 else 0 end) as "f1065k1nonus","max"(case when "f1065k1maxdistoff" = 1 then 1 when "f1065k1maxdistoff" = 2 then 2 when "f1065k1maxdistoff" = 3 then 3 when "f1065k1maxdistoff" = 4 then 4 when "f1065k1maxdistoff" = 5 then 5 else 0 end) as "f1065k1maxdistoff","sum"("interest_f1065_k1") as "interest_f1065_k1","sum"("guarpaymt_f1065_k1") as "guarpaymt_f1065_k1","sum"("ord_inc_f1065_k1") as "ord_inc_f1065_k1","sum"("othrental_f1065_k1") as "othrental_f1065_k1","sum"("realestate_f1065_k1") as "realestate_f1065_k1","sum"("royalties_f1065_k1") as "royalties_f1065_k1","sum"("section179_f1065_k1") as "section179_f1065_k1" from #TEMP9a group by "tin") as "B" on "a"."basetin" = "b"."tin"@^@^D7CNB.#TEMP9|Temp D7CNB.#TEMP8 AS A|Temp&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:D7CNB.#TEMP9A@^@^" target="_blank"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Q17CNB.#TEMP9A@^@^&lt;/A&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;A href="mailto:N17CNB_L_0__20210630-235521_5826.html@%5e@%5e2021/06/30@%5e@%5e23:55:21@%5e@%5eD7CNB@%5e@%5eselect" target="_blank"&gt;N17CNB_L_0__20210630-235521_5826.html@^@^2021/06/30@^@^23:55:21@^@^&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;N17CNB @^@^select&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;"a"."basetin","w2nonus","w2maxdistoff","ssanonus","ssamaxdistoff","f1099rnonus","f1099rmaxdistoff","f1099miscnonus","f1099miscmaxdistoff","f1099gnonus","f1099gmaxdistoff","f1099intnonus","f1099intmaxdistoff","f1099oidnonus","f1099oidmaxdistoff","f1041k1nonus","f1041k1maxdistoff","wages_w2","allocated_tips_w2","medicare_wages_w2","taxable_fica_tips_w2","WITHHLDG_w2","pens_annties_f1099_ssa_rrb","withhldg_f1099_ssa_rrb","gross_distrib_f1099r","taxable_amt_f1099r","WITHHLDG_f1099r","non_emp_compensation_f1099misc","othincome_f1099misc","rents_f1099misc","royalties_f1099misc","crop_insurance_f1099misc","WITHHLDG_f1099misc","taxbl_grant_f1099g","UNEMP_COMP_f1099g","prior_refnd_f1099g","agr_subsds_f1099g","atta_pymnt_f1099g","WITHHLDG_f1099g","interest_f1099int","savings_bonds_f1099int","WITHHLDG_f1099int","interest_f1099oid","withhldg_f1099oid","interest_f1041_k1","bus_inc_f1041_k1","net_rental_f1041_k1","oth_prtflo_f1041_k1","oth_rental_f1041_k1" into #TEMP8 from(select "basetin","w2nonus","w2maxdistoff","ssanonus","ssamaxdistoff","f1099rnonus","f1099rmaxdistoff","f1099miscnonus","f1099miscmaxdistoff","f1099gnonus","f1099gmaxdistoff","f1099intnonus","f1099intmaxdistoff","f1099oidnonus","f1099oidmaxdistoff","wages_w2","allocated_tips_w2","medicare_wages_w2","taxable_fica_tips_w2","WITHHLDG_w2","pens_annties_f1099_ssa_rrb","withhldg_f1099_ssa_rrb","gross_distrib_f1099r","taxable_amt_f1099r","WITHHLDG_f1099r","non_emp_compensation_f1099misc","othincome_f1099misc","rents_f1099misc","royalties_f1099misc","crop_insurance_f1099misc","WITHHLDG_f1099misc","taxbl_grant_f1099g","UNEMP_COMP_f1099g","prior_refnd_f1099g","agr_subsds_f1099g","atta_pymnt_f1099g","WITHHLDG_f1099g","interest_f1099int","savings_bonds_f1099int","WITHHLDG_f1099int","interest_f1099oid","withhldg_f1099oid" from #TEMP7) as "A" left outer join(select "tin","min"(case when "f1041k1nonus" = 1 then 1 else 0 end) as "f1041k1nonus","max"(case when "f1041k1maxdistoff" = 1 then 1 when "f1041k1maxdistoff" = 2 then 2 when "f1041k1maxdistoff" = 3 then 3 when "f1041k1maxdistoff" = 4 then 4 when "f1041k1maxdistoff" = 5 then 5 else 0 end) as "f1041k1maxdistoff","sum"("interest_f1041_k1") as "interest_f1041_k1","sum"("bus_inc_f1041_k1") as "bus_inc_f1041_k1","sum"("net_rental_f1041_k1") as "net_rental_f1041_k1","sum"("oth_prtflo_f1041_k1") as "oth_prtflo_f1041_k1","sum"("oth_rental_f1041_k1") as "oth_rental_f1041_k1" from #TEMP8A group by "tin") as "B" on "a"."basetin" = "b"."tin"@^@^D7CNB.#TEMP8|Temp D7CNB.#TEMP7 AS A|Temp&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:D7CNB.#TEMP8A@^@^" target="_blank"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;N17CNB.#TEMP8A@^@^&lt;/A&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 21:48:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565863#M197169</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-03T21:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565870#M197170</link>
      <description>&lt;P&gt;Is there a way?&amp;nbsp; Probably.&amp;nbsp; What exactly do you want to get out of the events?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 23:55:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565870#M197170</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-09-03T23:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565871#M197171</link>
      <description>&lt;P&gt;Thank you so much, appreciated your support.&lt;/P&gt;&lt;P&gt;In regards to what I am trying to get/extract from this Events,&lt;/P&gt;&lt;P&gt;1. First 6 Alphanumeric Values as a&amp;nbsp;&lt;STRONG&gt;ID field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. &lt;STRONG&gt;Date/time Stamp field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3. Each of the text within&lt;STRONG&gt; " "&lt;/STRONG&gt; as &lt;STRONG&gt;Field&lt;/STRONG&gt; and each &lt;STRONG&gt;Field&lt;/STRONG&gt;&amp;nbsp;is separated by &lt;STRONG&gt;Comma&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Sep 2021 00:09:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565871#M197171</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-04T00:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565918#M197189</link>
      <description>&lt;P&gt;This query will extract the ID and DateTime fields.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;... | rex "(?&amp;lt;ID&amp;gt;.{6}).*?@\^@\^(?&amp;lt;DateTime&amp;gt;\d\d\d\d\/\d\d\/\d\d@\^@\^\d\d:\d\d:\d\d)"&lt;/LI-CODE&gt;&lt;P&gt;Getting the SQL fields is a bit trickier because the SQL command might vary significantly.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Sep 2021 00:23:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565918#M197189</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-09-05T00:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565920#M197191</link>
      <description>&lt;P&gt;Thank you so much greatly appreciate your help.&lt;/P&gt;&lt;P&gt;I totally agree that g&lt;SPAN&gt;etting the SQL fields is a bit trickier and we will get lots of false alarms&amp;nbsp; in these extraction process. But, would it be possible go help me&amp;nbsp; to extract those fields even though SQL command might vary significantly. Thank you again, any help in these efforts will be highly appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Sep 2021 02:47:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565920#M197191</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-05T02:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565935#M197203</link>
      <description>&lt;P&gt;Perhaps this will help with the SQL fields.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "select (?&amp;lt;select&amp;gt;.*) into"
| rex field=select max_match=0 "(?&amp;lt;SQLField&amp;gt;[^,]+),"
| eval SQLField=mvmap(SQLField, trim(SQLField,"\""))&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 05 Sep 2021 12:57:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565935#M197203</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-09-05T12:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565938#M197204</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you so much appreciated.&lt;/P&gt;&lt;P&gt;Yes, I got additional 4 fields :&amp;nbsp;&lt;STRONG&gt; DateTime, ID, select, and SQLField,&amp;nbsp;&lt;/STRONG&gt;with your code, that is great.&amp;nbsp; But, I think we have more fields and associated values should be coming from these SQL&amp;nbsp; queries. Are there any ways we can get some of them?&amp;nbsp; &amp;nbsp;Thank you so much, appreciate your support in these efforts.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Sep 2021 16:11:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565938#M197204</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-05T16:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565947#M197209</link>
      <description>&lt;P&gt;I think the existing answers show how to extract fields from events.&amp;nbsp; If you need more help, feel free to post a more specific question.&amp;nbsp; Be sure to share the query you've tried and what's not working about it.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Sep 2021 20:11:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565947#M197209</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-09-05T20:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565948#M197210</link>
      <description>&lt;P&gt;Thank you again. Is there any ways I can extract the field values like :&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;"&lt;SPAN&gt;f1099rnonus","f1099rmaxdistoff", and "tin"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Sep 2021 20:17:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565948#M197210</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-05T20:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565956#M197212</link>
      <description>&lt;P&gt;Yes, there is a way and I've already shown it to you.&amp;nbsp; See this run-anywhere example.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults | eval _raw="N17CNB_L_0__20210630-235521_5826.html@^@^2021/06/30@^@^23:55:21@^@^ N17CNB @^@^select \"a\".\"basetin\",\"w2nonus\",\"w2maxdistoff\",\"ssanonus\",\"ssamaxdistoff\",\"f1099rnonus\",\"f1099rmaxdistoff\",\"f1099miscnonus\",\"f1099miscmaxdistoff\",\"f1099gnonus\",\"f1099gmaxdistoff\",\"f1099intnonus\",\"f1099intmaxdistoff\",\"f1099oidnonus\",\"f1099oidmaxdistoff\",\"f1041k1nonus\",\"f1041k1maxdistoff\",\"wages_w2\",\"allocated_tips_w2\",\"medicare_wages_w2\",\"taxable_fica_tips_w2\",\"WITHHLDG_w2\",\"pens_annties_f1099_ssa_rrb\",\"withhldg_f1099_ssa_rrb\",\"gross_distrib_f1099r\",\"taxable_amt_f1099r\",\"WITHHLDG_f1099r\",\"non_emp_compensation_f1099misc\",\"othincome_f1099misc\",\"rents_f1099misc\",\"royalties_f1099misc\",\"crop_insurance_f1099misc\",\"WITHHLDG_f1099misc\",\"taxbl_grant_f1099g\",\"UNEMP_COMP_f1099g\",\"prior_refnd_f1099g\",\"agr_subsds_f1099g\",\"atta_pymnt_f1099g\",\"WITHHLDG_f1099g\",\"interest_f1099int\",\"savings_bonds_f1099int\",\"WITHHLDG_f1099int\",\"interest_f1099oid\",\"withhldg_f1099oid\",\"interest_f1041_k1\",\"bus_inc_f1041_k1\",\"net_rental_f1041_k1\",\"oth_prtflo_f1041_k1\",\"oth_rental_f1041_k1\" into #TEMP8 from(select \"basetin\",\"w2nonus\",\"w2maxdistoff\",\"ssanonus\",\"ssamaxdistoff\",\"f1099rnonus\",\"f1099rmaxdistoff\",\"f1099miscnonus\",\"f1099miscmaxdistoff\",\"f1099gnonus\",\"f1099gmaxdistoff\",\"f1099intnonus\",\"f1099intmaxdistoff\",\"f1099oidnonus\",\"f1099oidmaxdistoff\",\"wages_w2\",\"allocated_tips_w2\",\"medicare_wages_w2\",\"taxable_fica_tips_w2\",\"WITHHLDG_w2\",\"pens_annties_f1099_ssa_rrb\",\"withhldg_f1099_ssa_rrb\",\"gross_distrib_f1099r\",\"taxable_amt_f1099r\",\"WITHHLDG_f1099r\",\"non_emp_compensation_f1099misc\",\"othincome_f1099misc\",\"rents_f1099misc\",\"royalties_f1099misc\",\"crop_insurance_f1099misc\",\"WITHHLDG_f1099misc\",\"taxbl_grant_f1099g\",\"UNEMP_COMP_f1099g\",\"prior_refnd_f1099g\",\"agr_subsds_f1099g\",\"atta_pymnt_f1099g\",\"WITHHLDG_f1099g\",\"interest_f1099int\",\"savings_bonds_f1099int\",\"WITHHLDG_f1099int\",\"interest_f1099oid\",\"withhldg_f1099oid\" from #TEMP7) as \"A\" left outer join(select \"tin\",\"min\"(case when \"f1041k1nonus\" = 1 then 1 else 0 end) as \"f1041k1nonus\",\"max\"(case when \"f1041k1maxdistoff\" = 1 then 1 when \"f1041k1maxdistoff\" = 2 then 2 when \"f1041k1maxdistoff\" = 3 then 3 when \"f1041k1maxdistoff\" = 4 then 4 when \"f1041k1maxdistoff\" = 5 then 5 else 0 end) as \"f1041k1maxdistoff\",\"sum\"(\"interest_f1041_k1\") as \"interest_f1041_k1\",\"sum\"(\"bus_inc_f1041_k1\") as \"bus_inc_f1041_k1\",\"sum\"(\"net_rental_f1041_k1\") as \"net_rental_f1041_k1\",\"sum\"(\"oth_prtflo_f1041_k1\") as \"oth_prtflo_f1041_k1\",\"sum\"(\"oth_rental_f1041_k1\") as \"oth_rental_f1041_k1\" from #TEMP8A group by \"tin\") as \"B\" on \"a\".\"basetin\" = \"b\".\"tin\"@^@^D7CNB.#TEMP8|Temp D7CNB.#TEMP7 AS A|Temp  N17CNB.#TEMP8A@^@^"
| rex "select (?&amp;lt;select&amp;gt;.*) into"
| rex field=select max_match=0 "(?&amp;lt;SQLField&amp;gt;[^,]+),"
| eval SQLField=mvmap(SQLField, trim(SQLField,"\""))
| table SQLfield&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="richgalloway_0-1630887234627.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15855i9143D8F326F25AC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="richgalloway_0-1630887234627.png" alt="richgalloway_0-1630887234627.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 00:14:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565956#M197212</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-09-06T00:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565957#M197213</link>
      <description>&lt;P&gt;You are awesome, thank you so much.&amp;nbsp; &amp;nbsp;But, these events are under &lt;STRONG&gt;index=cdsw&lt;/STRONG&gt;&amp;nbsp; and was trying to extract those fields from that events and I wrote this (just added index=cdsw at the beginning).... but not working.....&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=cdsw |&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;| makeresults | eval _raw="N17CNB_L_0__20210630-235521_5826.html@^@^2021/06/30@^@^23:55:21@^@^ N17CNB @^@^select \"a\".\"basetin\",\"w2nonus\",\"w2maxdistoff\",\"ssanonus\",\"ssamaxdistoff\",\"f1099rnonus\",\"f1099rmaxdistoff\",\"f1099miscnonus\",\"f1099miscmaxdistoff\",\"f1099gnonus\",\"f1099gmaxdistoff\",\"f1099intnonus\",\"f1099intmaxdistoff\",\"f1099oidnonus\",\"f1099oidmaxdistoff\",\"f1041k1nonus\",\"f1041k1maxdistoff\",\"wages_w2\",\"allocated_tips_w2\",\"medicare_wages_w2\",\"taxable_fica_tips_w2\",\"WITHHLDG_w2\",\"pens_annties_f1099_ssa_rrb\",\"withhldg_f1099_ssa_rrb\",\"gross_distrib_f1099r\",\"taxable_amt_f1099r\",\"WITHHLDG_f1099r\",\"non_emp_compensation_f1099misc\",\"othincome_f1099misc\",\"rents_f1099misc\",\"royalties_f1099misc\",\"crop_insurance_f1099misc\",\"WITHHLDG_f1099misc\",\"taxbl_grant_f1099g\",\"UNEMP_COMP_f1099g\",\"prior_refnd_f1099g\",\"agr_subsds_f1099g\",\"atta_pymnt_f1099g\",\"WITHHLDG_f1099g\",\"interest_f1099int\",\"savings_bonds_f1099int\",\"WITHHLDG_f1099int\",\"interest_f1099oid\",\"withhldg_f1099oid\",\"interest_f1041_k1\",\"bus_inc_f1041_k1\",\"net_rental_f1041_k1\",\"oth_prtflo_f1041_k1\",\"oth_rental_f1041_k1\" into #TEMP8 from(select \"basetin\",\"w2nonus\",\"w2maxdistoff\",\"ssanonus\",\"ssamaxdistoff\",\"f1099rnonus\",\"f1099rmaxdistoff\",\"f1099miscnonus\",\"f1099miscmaxdistoff\",\"f1099gnonus\",\"f1099gmaxdistoff\",\"f1099intnonus\",\"f1099intmaxdistoff\",\"f1099oidnonus\",\"f1099oidmaxdistoff\",\"wages_w2\",\"allocated_tips_w2\",\"medicare_wages_w2\",\"taxable_fica_tips_w2\",\"WITHHLDG_w2\",\"pens_annties_f1099_ssa_rrb\",\"withhldg_f1099_ssa_rrb\",\"gross_distrib_f1099r\",\"taxable_amt_f1099r\",\"WITHHLDG_f1099r\",\"non_emp_compensation_f1099misc\",\"othincome_f1099misc\",\"rents_f1099misc\",\"royalties_f1099misc\",\"crop_insurance_f1099misc\",\"WITHHLDG_f1099misc\",\"taxbl_grant_f1099g\",\"UNEMP_COMP_f1099g\",\"prior_refnd_f1099g\",\"agr_subsds_f1099g\",\"atta_pymnt_f1099g\",\"WITHHLDG_f1099g\",\"interest_f1099int\",\"savings_bonds_f1099int\",\"WITHHLDG_f1099int\",\"interest_f1099oid\",\"withhldg_f1099oid\" from #TEMP7) as \"A\" left outer join(select \"tin\",\"min\"(case when \"f1041k1nonus\" = 1 then 1 else 0 end) as \"f1041k1nonus\",\"max\"(case when \"f1041k1maxdistoff\" = 1 then 1 when \"f1041k1maxdistoff\" = 2 then 2 when \"f1041k1maxdistoff\" = 3 then 3 when \"f1041k1maxdistoff\" = 4 then 4 when \"f1041k1maxdistoff\" = 5 then 5 else 0 end) as \"f1041k1maxdistoff\",\"sum\"(\"interest_f1041_k1\") as \"interest_f1041_k1\",\"sum\"(\"bus_inc_f1041_k1\") as \"bus_inc_f1041_k1\",\"sum\"(\"net_rental_f1041_k1\") as \"net_rental_f1041_k1\",\"sum\"(\"oth_prtflo_f1041_k1\") as \"oth_prtflo_f1041_k1\",\"sum\"(\"oth_rental_f1041_k1\") as \"oth_rental_f1041_k1\" from #TEMP8A group by \"tin\") as \"B\" on \"a\".\"basetin\" = \"b\".\"tin\"@^@^D7CNB.#TEMP8|Temp D7CNB.#TEMP7 AS A|Temp  N17CNB.#TEMP8A@^@^"
| rex "select (?&amp;lt;select&amp;gt;.*) into"
| rex field=select max_match=0 "(?&amp;lt;SQLField&amp;gt;[^,]+),"
| eval SQLField=mvmap(SQLField, trim(SQLField,"\""))
| table SQLfield&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 00:42:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/565957#M197213</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-06T00:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566014#M197227</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;makeresults&lt;/FONT&gt; and first &lt;FONT face="courier new,courier"&gt;eval&lt;/FONT&gt; commands are for generating test data.&amp;nbsp; Remove them to use live data.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 12:56:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566014#M197227</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-09-06T12:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566035#M197234</link>
      <description>&lt;P&gt;Thank you so much, appreciated...I got this result (please see screenshot&amp;nbsp; below ). But, what the list represents...is it &lt;STRONG&gt;List of the Fields Names&lt;/STRONG&gt; or &lt;STRONG&gt;Values of the Fields&lt;/STRONG&gt;........... ?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="malekmo_1-1630945331320.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15871iFF28D6A0340DB7A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="malekmo_1-1630945331320.png" alt="malekmo_1-1630945331320.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 16:25:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566035#M197234</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-06T16:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566046#M197237</link>
      <description>&lt;P&gt;From the information you've shared, it seems like the event contains a SQL query rather than the results of a query.&amp;nbsp; Therefore, the SQLField field contains field names rather than field values.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 00:11:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566046#M197237</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-09-07T00:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566050#M197238</link>
      <description>&lt;P&gt;Make sense....thank you again. How&amp;nbsp; I would incorporate this (REX)&amp;nbsp; in this extraction windows&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="malekmo_1-1630974185712.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15875i258F39A0F44D8FE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="malekmo_1-1630974185712.png" alt="malekmo_1-1630974185712.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and would if be possible to explain what do following three lines of your codes are doing here&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;| rex "select (?&lt;/SPAN&gt;&lt;SPAN class="x_token"&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="x_token"&gt;&lt;SPAN&gt;select&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="x_token"&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;.*) into"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;| rex field=select max_match=0 "(?&lt;/SPAN&gt;&lt;SPAN class="x_token"&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="x_token"&gt;&lt;SPAN&gt;SQLField&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="x_token"&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;[^,]+),"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;| eval SQLField=mvmap(SQLField, trim(SQLField,"\""))&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 00:28:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566050#M197238</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-07T00:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566124#M197282</link>
      <description>&lt;P&gt;The Extraction field is expecting a regular expression.&amp;nbsp; That would be the part inside quotation marks in the &lt;FONT face="courier new,courier"&gt;rex&lt;/FONT&gt; commands.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;```Extract everything after "select " in _raw into the 'select' field.```
| rex "select (?&amp;lt;select&amp;gt;.*) into"
```Scan the 'select' field and extract all instances of text that is not a comma followed by a comma into the field called 'SQLField'.```
| rex field=select max_match=0 "(?&amp;lt;SQLField&amp;gt;[^,]+),"
```For each entry in SQLField, remove the quotation marks from each end```
| eval SQLField=mvmap(SQLField, trim(SQLField,"\""))&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 07 Sep 2021 12:09:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566124#M197282</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-09-07T12:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566138#M197289</link>
      <description>&lt;P&gt;Thank you again.&lt;/P&gt;&lt;P&gt;You meant part within&amp;nbsp; " " in the REX&amp;nbsp; command of your codes should be in &lt;SPAN&gt;&amp;nbsp;the Extraction/Transforms&amp;nbsp; of the following screenshot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="malekmo_1-1631020235198.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15888i21ECBF8054509227/image-size/medium?v=v2&amp;amp;px=400" role="button" title="malekmo_1-1631020235198.png" alt="malekmo_1-1631020235198.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 13:11:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566138#M197289</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-07T13:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566149#M197294</link>
      <description>&lt;P&gt;Yes, that's what I said.&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 14:25:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566149#M197294</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-09-07T14:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566152#M197296</link>
      <description>&lt;P&gt;Awesome&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;!!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 14:31:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566152#M197296</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-07T14:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from SQL Coded Events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566175#M197310</link>
      <description>&lt;P&gt;Thank you so much again. One more quick question if it can be resolved.. when I used your codes&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;rex "(?&amp;lt;ID&amp;gt;.{6})&lt;/SPAN&gt;&lt;A href="mailto:.*?@\%5e@\%5e(?%3cDateTime%3e\d\d\d\d\/\d\d\/\d\d@\%5e@\%5e\d\d:\d\d:\d\d)" target="_blank" rel="noopener noreferrer"&gt;.*?@\^@\^(?&amp;lt;DateTime&amp;gt;\d\d\d\d\/\d\d\/\d\d@\^@\^\d\d:\d\d:\d\d)&lt;/A&gt; to extract &lt;STRONG&gt;ID&lt;/STRONG&gt; and &lt;STRONG&gt;DateTime&lt;/STRONG&gt; Fields: &lt;STRONG&gt;ID&lt;/STRONG&gt; looked as expected, but I got&amp;nbsp;&lt;STRONG&gt;DateTime&lt;/STRONG&gt;&amp;nbsp;Field&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;"&lt;STRONG&gt;2021/06/30@^@^20:20:59&lt;/STRONG&gt;"&lt;/SPAN&gt;&amp;nbsp;. Is there any ways we can have &lt;STRONG&gt;DateTime&lt;/STRONG&gt;&amp;nbsp;Field like "&lt;SPAN&gt;&lt;STRONG&gt;2021/06/30 20:20:59&lt;/STRONG&gt;"....without (&lt;STRONG&gt;@^@^&lt;/STRONG&gt;) from this Event. Thank you so much, appreciate your support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 15:30:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-SQL-Coded-Events/m-p/566175#M197310</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-07T15:30:51Z</dc:date>
    </item>
  </channel>
</rss>

