<?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: extract field between two single quotes in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674523#M112894</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;This is my first query which returns a table user_transaction in order&amp;nbsp;&lt;SPAN&gt;0BI96-auto-4826143&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;index="index" sourcetype=host=hq " Mark transaction results" "port = 2022"| rex "client\s'(?&amp;lt;client&amp;gt;[^']*)'" | rex "transaction\s'(?&amp;lt;transaction&amp;gt;[^']*)'" | rex "user\s'(?&amp;lt;user&amp;gt;[^']*)'" | table client,transaction,user | eval user_transaction = client . "-" . user . "-" . transaction | table user_transaction&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2024-01-17 08:41:35.9174&lt;SPAN&gt;&amp;nbsp;[&lt;/SPAN&gt;94&lt;SPAN&gt;]&amp;nbsp;&lt;/SPAN&gt;INFO&lt;SPAN&gt;&amp;nbsp;[&lt;/SPAN&gt;.java..TransLogCallback&lt;SPAN&gt;]&amp;nbsp;&lt;/SPAN&gt;OBI96-auto-4826143&amp;nbsp;Report&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Finished&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;successfully at 8:41:35 AM on 1/17/2024&lt;BR /&gt;&lt;BR /&gt;this is my actual data i want to match too&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2024 15:13:28 GMT</pubDate>
    <dc:creator>sam90651</dc:creator>
    <dc:date>2024-01-17T15:13:28Z</dc:date>
    <item>
      <title>extract field between two single quotes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674437#M112879</link>
      <description>&lt;P&gt;Sorry i am a noob to regex and splunk regex especially.&lt;/P&gt;&lt;P&gt;Regex to extarct all that is between the two single quotes. there will never be a single quote in the name.&lt;/P&gt;&lt;P&gt;EG extract the client code after word client and same for transaction&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2024-01-16&lt;/SPAN&gt; &lt;SPAN class=""&gt;15:04:22.7117&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN class=""&gt;135&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN class=""&gt;INFO&lt;/SPAN&gt;&lt;SPAN&gt; [javalang&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN class=""&gt;Starting&lt;/SPAN&gt; &lt;SPAN class=""&gt;Report&lt;/SPAN&gt; &lt;SPAN class=""&gt;for&lt;/SPAN&gt; &lt;SPAN class=""&gt;client&lt;/SPAN&gt;&lt;SPAN&gt; '&lt;/SPAN&gt;&lt;SPAN class=""&gt;0SD45&lt;/SPAN&gt;&lt;SPAN&gt;' &lt;/SPAN&gt;&lt;SPAN class=""&gt;user&lt;/SPAN&gt;&lt;SPAN&gt; '&lt;/SPAN&gt;&lt;SPAN class=""&gt;user1&lt;/SPAN&gt;&lt;SPAN&gt;' &lt;/SPAN&gt;&lt;SPAN class=""&gt;for&lt;/SPAN&gt; &lt;SPAN class=""&gt;transaction&lt;/SPAN&gt;&lt;SPAN&gt; '&lt;/SPAN&gt;&lt;SPAN class=""&gt;123456&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/89930"&gt;@fieldextraction&lt;/a&gt;&amp;nbsp;&amp;nbsp;@Anonymous&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 21:14:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674437#M112879</guid>
      <dc:creator>sam90651</dc:creator>
      <dc:date>2024-01-16T21:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: extract field between two single quotes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674443#M112881</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "client\s'(?&amp;lt;client&amp;gt;[^']*)'"
| rex "transaction\s'(?&amp;lt;transaction&amp;gt;[^']*)'"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 16 Jan 2024 23:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674443#M112881</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-01-16T23:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: extract field between two single quotes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674448#M112882</link>
      <description>&lt;P&gt;Great this works. i went ahead and added eval to it&amp;nbsp; table client,transaction | eval user_transaction = client . "-" . transaction&lt;/P&gt;&lt;P&gt;now the second query returns below result&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2024-01-16&lt;/SPAN&gt; &lt;SPAN class=""&gt;19:08:13.3284&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN class=""&gt;43&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN class=""&gt;INFO&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN class=""&gt;.ServiceClassTraCack&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN class=""&gt;0LO19-1901631&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Report&lt;/SPAN&gt; &lt;SPAN class=""&gt;Finished&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;successfully&lt;/SPAN&gt; &lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;7:08:13&lt;/SPAN&gt; &lt;SPAN class=""&gt;PM&lt;/SPAN&gt; &lt;SPAN class=""&gt;on&lt;/SPAN&gt; &lt;SPAN class=""&gt;1/16/2024&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;my first query is returning result as&amp;nbsp;0LO19-1901631, i want to match these results to above query along with Report Finished snippet&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 01:20:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674448#M112882</guid>
      <dc:creator>sam90651</dc:creator>
      <dc:date>2024-01-17T01:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: extract field between two single quotes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674515#M112889</link>
      <description>&lt;P&gt;Try something like this (although to be fair, you haven't shared any sample events or details of your current searches, so this may not work)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "(?&amp;lt;user_transaction&amp;gt;\S+)\sReport Finished successfully"
| eval user_transaction = if(isnull(user_transaction), client . "-" . transaction, user_transaction)
| stats latest(_raw) as _raw by user_transaction&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Jan 2024 13:38:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674515#M112889</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-01-17T13:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: extract field between two single quotes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674516#M112890</link>
      <description>&lt;P&gt;oh i am sorry my current search returns below sample&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;0BI96-auto-4826143&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need to match this result and correlate if its matching&amp;nbsp;0BI96-auto-4826143 Report finished and return as finished column, basically comparing two strings&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 14:20:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674516#M112890</guid>
      <dc:creator>sam90651</dc:creator>
      <dc:date>2024-01-17T14:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: extract field between two single quotes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674518#M112892</link>
      <description>&lt;P&gt;Again, without seeing your actual data, this may not work&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "(?&amp;lt;user_transaction&amp;gt;\S+)\sReport Finished successfully"
| eval user_transaction = if(isnull(user_transaction), client . "-auto-" . transaction, user_transaction)
| stats latest(_raw) as _raw by user_transaction&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Jan 2024 14:31:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674518#M112892</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-01-17T14:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: extract field between two single quotes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674522#M112893</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;This is my first query which returns a table user_transaction in order&amp;nbsp;&lt;SPAN&gt;0BI96-auto-4826143&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;index="index" sourcetype=host=hq " Mark transaction results" "port = 2022"| rex "client\s'(?&amp;lt;client&amp;gt;[^']*)'" | rex "transaction\s'(?&amp;lt;transaction&amp;gt;[^']*)'" | rex "user\s'(?&amp;lt;user&amp;gt;[^']*)'" | table client,transaction,user | eval user_transaction = client . "-" . user . "-" . transaction | table user_transaction&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2024-01-17 08:41:35.9174&lt;SPAN&gt; [&lt;/SPAN&gt;94&lt;SPAN&gt;] &lt;/SPAN&gt;INFO&lt;SPAN&gt; [&lt;/SPAN&gt;.java..TransLogCallback&lt;SPAN&gt;] &lt;/SPAN&gt;OBI96-auto-4826143&amp;nbsp;Report &lt;SPAN class=""&gt;Finished&lt;/SPAN&gt; successfully at 8:41:35 AM on 1/17/2024&lt;BR /&gt;&lt;BR /&gt;this is my actual data i want to match too&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 15:00:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674522#M112893</guid>
      <dc:creator>sam90651</dc:creator>
      <dc:date>2024-01-17T15:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: extract field between two single quotes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674523#M112894</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;This is my first query which returns a table user_transaction in order&amp;nbsp;&lt;SPAN&gt;0BI96-auto-4826143&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;index="index" sourcetype=host=hq " Mark transaction results" "port = 2022"| rex "client\s'(?&amp;lt;client&amp;gt;[^']*)'" | rex "transaction\s'(?&amp;lt;transaction&amp;gt;[^']*)'" | rex "user\s'(?&amp;lt;user&amp;gt;[^']*)'" | table client,transaction,user | eval user_transaction = client . "-" . user . "-" . transaction | table user_transaction&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2024-01-17 08:41:35.9174&lt;SPAN&gt;&amp;nbsp;[&lt;/SPAN&gt;94&lt;SPAN&gt;]&amp;nbsp;&lt;/SPAN&gt;INFO&lt;SPAN&gt;&amp;nbsp;[&lt;/SPAN&gt;.java..TransLogCallback&lt;SPAN&gt;]&amp;nbsp;&lt;/SPAN&gt;OBI96-auto-4826143&amp;nbsp;Report&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Finished&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;successfully at 8:41:35 AM on 1/17/2024&lt;BR /&gt;&lt;BR /&gt;this is my actual data i want to match too&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 15:13:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674523#M112894</guid>
      <dc:creator>sam90651</dc:creator>
      <dc:date>2024-01-17T15:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: extract field between two single quotes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674524#M112895</link>
      <description>&lt;P&gt;If you aren't going to share your events, it is difficult to advise you further than I have already, especially when you appear to be ignoring my suggestions.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 15:18:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674524#M112895</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-01-17T15:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: extract field between two single quotes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674536#M112896</link>
      <description>&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;Apologies here are events&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Event 1:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;2024-01-17&lt;/SPAN&gt; &lt;SPAN class=""&gt;09:35:10.3370&lt;/SPAN&gt; [&lt;SPAN class=""&gt;44&lt;/SPAN&gt;] &lt;SPAN class=""&gt;INFO&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;.java..TransLogCallback&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class=""&gt;Starting&lt;/SPAN&gt; &lt;SPAN class=""&gt;Report&lt;/SPAN&gt; &lt;SPAN class=""&gt;for&lt;/SPAN&gt; &lt;SPAN class=""&gt;client&lt;/SPAN&gt; '&lt;SPAN&gt;OBI96&lt;/SPAN&gt;' &lt;SPAN class=""&gt;user&lt;/SPAN&gt; '&lt;SPAN class=""&gt;auto&lt;/SPAN&gt;' &lt;SPAN class=""&gt;for&lt;/SPAN&gt; &lt;SPAN class=""&gt;transaction&lt;/SPAN&gt; '&lt;SPAN&gt;4826143&amp;nbsp;&lt;/SPAN&gt;'' &lt;SPAN class=""&gt;Report&lt;/SPAN&gt; &lt;SPAN class=""&gt;ID&lt;/SPAN&gt; '&lt;SPAN class=""&gt;222&lt;/SPAN&gt;' &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;Retry&lt;/SPAN&gt; &lt;SPAN class=""&gt;#1&lt;/SPAN&gt; &lt;SPAN class=""&gt;Date&lt;/SPAN&gt; &lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;1/17/2024&lt;/SPAN&gt; &lt;SPAN class=""&gt;Time&lt;/SPAN&gt; &lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;9:35:10&lt;/SPAN&gt; &lt;SPAN class=""&gt;AM&lt;/SPAN&gt; &lt;SPAN class=""&gt;Message&lt;/SPAN&gt; &lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;Mark&lt;/SPAN&gt; &lt;SPAN class=""&gt;transaction&lt;/SPAN&gt; &lt;SPAN class=""&gt;results&lt;/SPAN&gt;&lt;/SPAN&gt;: &lt;SPAN class=""&gt;1&lt;/SPAN&gt;, &lt;SPAN class=""&gt;Query&lt;/SPAN&gt; &lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;UPDATE&lt;/SPAN&gt; &lt;SPAN class=""&gt;transactions&lt;/SPAN&gt; &lt;SPAN class=""&gt;SET&lt;/SPAN&gt; &lt;SPAN class=""&gt;queued&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;0&lt;/SPAN&gt;, &lt;SPAN class=""&gt;processing&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;1&lt;/SPAN&gt;, &lt;SPAN class=""&gt;serviceip&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; ? , &lt;SPAN class=""&gt;timestarted&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;now&lt;/SPAN&gt;() &lt;SPAN class=""&gt;WHERE&lt;/SPAN&gt; &lt;SPAN class=""&gt;clientcode&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; ? &lt;SPAN class=""&gt;AND&lt;/SPAN&gt; &lt;SPAN class=""&gt;username&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; ? &lt;SPAN class=""&gt;AND&lt;/SPAN&gt; &lt;SPAN class=""&gt;transid&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; ? (&lt;SPAN class=""&gt;100.00.000.00&lt;/SPAN&gt;, &lt;SPAN&gt;OBI96&lt;/SPAN&gt;, &lt;SPAN class=""&gt;auto&lt;/SPAN&gt;, &lt;SPAN&gt;4826143&amp;nbsp;&lt;/SPAN&gt;), &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;port&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt;&amp;nbsp;2222&lt;/SPAN&gt;&lt;SPAN class=""&gt;^^&lt;/SPAN&gt;------------------------------------------------------------------&lt;SPAN class=""&gt;-^^&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Event 2:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;2024-01-17&lt;/SPAN&gt; &lt;SPAN class=""&gt;08:41:35.9174&lt;/SPAN&gt; [&lt;SPAN class=""&gt;94&lt;/SPAN&gt;] &lt;SPAN class=""&gt;INFO&lt;/SPAN&gt; &lt;SPAN&gt;&amp;nbsp;[&lt;/SPAN&gt;&lt;SPAN&gt;.java..TransLogCallback&lt;/SPAN&gt;&lt;SPAN&gt;]&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;OBI96-auto-4826143&amp;nbsp;Report&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Finished&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;successfully at 8:41:35 AM on 1/17/2024&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class=""&gt;^^&lt;/SPAN&gt;-----------------------------------------------&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Jan 2024 15:40:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674536#M112896</guid>
      <dc:creator>sam90651</dc:creator>
      <dc:date>2024-01-17T15:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: extract field between two single quotes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674541#M112897</link>
      <description>&lt;P&gt;So the Report Completed message occurs before the Report Started message?&lt;/P&gt;&lt;P&gt;Assuming it is actually the latest (by _time) that you want to keep, try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="index" sourcetype=host=hq " Mark transaction results" "port = 2022"
| rex "client\s'(?&amp;lt;client&amp;gt;[^']*)'" 
| rex "transaction\s'(?&amp;lt;transaction&amp;gt;[^']*)'" 
| rex "user\s'(?&amp;lt;user&amp;gt;[^']*)'" 
| rex "(?&amp;lt;user_transaction&amp;gt;\S+)\sReport Finished successfully"
| eval user_transaction = if(isnull(user_transaction), client . "-" . user . "-" . transaction, user_transaction)
| stats latest(_raw) as _raw by user_transaction&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 15:57:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674541#M112897</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-01-17T15:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: extract field between two single quotes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674724#M112924</link>
      <description>&lt;P&gt;yes it does. this actually worked. appreciate a ton&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 18:41:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/extract-field-between-two-single-quotes/m-p/674724#M112924</guid>
      <dc:creator>sam90651</dc:creator>
      <dc:date>2024-01-18T18:41:14Z</dc:date>
    </item>
  </channel>
</rss>

