<?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: How do you search part of a text field (delimited by date)? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478052#M192840</link>
    <description>&lt;P&gt;Yes, the pic looks like single text because that's how Splunk displays it in the search results, I Don't know why the search results in Splunk don't show the new lines.&lt;/P&gt;

&lt;P&gt;The formatting of the paragraph entries is always:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; dd.mm.yyyy hh:mm:ss UTC  &amp;lt;letters A-Z&amp;gt; (&amp;lt;letters A-Z and Numbers 0-9&amp;gt;) &amp;lt;any characters with no limit&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;\n can be one of those characters following the first closing parentheses )&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2020 02:29:52 GMT</pubDate>
    <dc:creator>anelson1</dc:creator>
    <dc:date>2020-04-30T02:29:52Z</dc:date>
    <item>
      <title>How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478023#M192811</link>
      <description>&lt;P&gt;I'm trying to search for specific words inside the last entry added to a paragraph, where each entry/addition to the paragraph is time &amp;amp; date stamped.&lt;/P&gt;

&lt;P&gt;For example:&lt;BR /&gt;
Paragraph = "25.12.2019 07:24:06 UTC Initial text entry 25.12.2019 09:50:52 UTC Should this be cancelled? No additional information found 26.12.2019 05:55:51 UTC No issues from this machine today, this should be cancelled"&lt;/P&gt;

&lt;P&gt;I want to catalogue paragraphs that have the term 'cancelled' in them but only if the term is in the last entry in the paragraph. As you can see, the word 'cancelled' is in the middle of the paragraph following the entry on 25.12.2019 09:50:52 UTC and also in the last entry, so this would be catalogued as a "cancelled" paragraph in what I'm trying to do. There are several paragraphs I Have to search in this way and I plan to search for other terms aside from 'cancelled' once I figure out how to search on only the last entry in the paragraph rather than the whole paragraph.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Apr 2020 06:27:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478023#M192811</guid>
      <dc:creator>anelson1</dc:creator>
      <dc:date>2020-04-19T06:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478024#M192812</link>
      <description>&lt;P&gt;Hi anelson1,&lt;/P&gt;

&lt;P&gt;This question needs more background information, details to get a correct answer. For example, when you say &lt;CODE&gt;but only if the term is in the last entry in the paragraph&lt;/CODE&gt; do you want to match the time stamp before as well or not? There are many other question to be answered before this answer can be answered correctly - if that make sense.&lt;/P&gt;

&lt;P&gt;As an example, if your &lt;CODE&gt;_raw&lt;/CODE&gt; contains the message like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; Paragraph = "25.12.2019 07:24:06 UTC Initial text entry 25.12.2019 09:50:52 UTC Should this be cancelled? No additional information found 26.12.2019 05:55:51 UTC No issues from this machine today, this should be cancelled"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you could use a field extraction like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex "\s(?&amp;lt;last&amp;gt;\w+)\"" | search last="cancelled" | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But if this will yield the correct results as you expect it is hard to tell without more context.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;

&lt;P&gt;PS: question, SPL posted here are from a chat with cp-regex-guru and martin_mueller&lt;/P&gt;</description>
      <pubDate>Sun, 19 Apr 2020 20:38:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478024#M192812</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2020-04-19T20:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478025#M192813</link>
      <description>&lt;P&gt;More information needed.&lt;/P&gt;

&lt;P&gt;Can the term appear anywhere in the last entry of the paragraph?&lt;/P&gt;

&lt;P&gt;What constitutes a paragraph (is it the entire event), and what constitutes an entry (I assume it is a part of the event, but what delineates one entry from another)?&lt;/P&gt;</description>
      <pubDate>Sun, 19 Apr 2020 20:40:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478025#M192813</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2020-04-19T20:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478026#M192814</link>
      <description>&lt;P&gt;"when you say but only if the term is in the last entry in the paragraph do you want to match the time stamp before as well or not?"&lt;BR /&gt;
I Don't think so, not sure what you mean by match the timestamp before as I don't want to match any time stamps.&lt;/P&gt;

&lt;P&gt;Additional background information:&lt;BR /&gt;
These paragraphs come from a csv file extracted from a maintenance tracking system, each entry contains a maintenance entry ID and a maintenance log (the paragraph). The system allows technicians to add information, via free text, to each maintenance record. The system will then append a timestamp and the free text entered  to the existing text/paragraph.&lt;BR /&gt;
The overall aim is to categorize the log entries into categories to draw a picture of our most common issues. &lt;BR /&gt;
At first I was doing a simple &lt;BR /&gt;
"| eval Cancelled=if(match(Paragraph, "cancelled|Cancelled"), 1, 0)" but then found a few entries incorrectly tagged as Cancelled as a technician had used the word 'cancelled' in a previous entry but not in the last entry, then I found that if they use that word in the last entry then 100% of the time it was correctly categorized.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 00:41:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478026#M192814</guid>
      <dc:creator>anelson1</dc:creator>
      <dc:date>2020-04-20T00:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478027#M192815</link>
      <description>&lt;P&gt;"Can the term appear anywhere in the last entry of the paragraph?"&lt;BR /&gt;
Yes&lt;/P&gt;

&lt;P&gt;"What constitutes a paragraph (is it the entire event), and what constitutes an entry (I assume it is a part of the event, but what delineates one entry from another)?"&lt;BR /&gt;
I'm new to Splunk so I'm not sure what an "event" is....&lt;BR /&gt;
Each entry is delineated by another field called maintenance ID.&lt;BR /&gt;
The data comes from a csv file which when opened with excel  has two columns "maintenance ID" and "Paragraph".&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 00:45:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478027#M192815</guid>
      <dc:creator>anelson1</dc:creator>
      <dc:date>2020-04-20T00:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478028#M192816</link>
      <description>&lt;P&gt;An event is any data item that comes back from a splunk search. In most cases that would be equivalent to a log entry, whether it is a single line or multiple lines that are part of a single log message.&lt;/P&gt;

&lt;P&gt;What does the "entry" (or event) look like when you search the data? Can you provide a "sanitized" event that can show what you full event looks like and if there are fields that are extracted from that event?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 02:32:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478028#M192816</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2020-04-20T02:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478029#M192817</link>
      <description>&lt;P&gt;Ok thank you.&lt;/P&gt;

&lt;P&gt;The data in splunk after this search:&lt;BR /&gt;
source="maint_log.csv" host="Maint log data" sourcetype="csv" | eval Cancelled=if(match(Paragraph, "cancelled|Cancelled"), 1, 0) | table Cancelled "maintenance ID" Paragraph&lt;/P&gt;

&lt;P&gt;returns 3 columns&lt;/P&gt;

&lt;P&gt;First one is Cancelled, with just 1's and 0's,&lt;BR /&gt;
Second one is maintenance ID, the values being a single number (8 chars long) &lt;BR /&gt;
Third one is the Paragraph, a long block of text usually with multiple date/timestamps in it&lt;/P&gt;

&lt;P&gt;so there are in this case 133 rows returned from that search as that's how many lines the csv contains too.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 02:46:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478029#M192817</guid>
      <dc:creator>anelson1</dc:creator>
      <dc:date>2020-04-20T02:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478030#M192818</link>
      <description>&lt;P&gt;Still looking for help on this if anyone has any ideas, please.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 05:41:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478030#M192818</guid>
      <dc:creator>anelson1</dc:creator>
      <dc:date>2020-04-21T05:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478031#M192819</link>
      <description>&lt;P&gt;Are you able to help any further MuS?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 13:43:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478031#M192819</guid>
      <dc:creator>anelson1</dc:creator>
      <dc:date>2020-04-21T13:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478032#M192820</link>
      <description>&lt;P&gt;Are you able to help any further cpetterborg?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 13:43:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478032#M192820</guid>
      <dc:creator>anelson1</dc:creator>
      <dc:date>2020-04-21T13:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478033#M192821</link>
      <description>&lt;P&gt;Your reply still lacks sufficient information. Please use the text formatting button that looks like &lt;CODE&gt;101010&lt;/CODE&gt; in two rows next to the double quotes &lt;CODE&gt;"&lt;/CODE&gt; button to provide preformatted text to clarify answers and example data.&lt;/P&gt;

&lt;P&gt;So, please provide some (sanitized) example data that shows the original data &lt;EM&gt;AND&lt;/EM&gt; the various parts of the data (as you state "paragraphs") so that it can be determined exactly what you are trying to explain. It is still unclear what constitutes a "paragraph" and you talk about a first and second paragraph. So what part is the first paragraph? What part is the second paragraph? Are there always two paragraphs, or can there be just one? Are there ever three or more paragraphs?&lt;/P&gt;

&lt;P&gt;Without an understanding of your data it is impossible to help you out. As you can see by the lack of responses, no one is able to help because there isn't enough information to help you. This is likely not a hard problem to overcome, it's just a lack of information to come up up with an answer.&lt;/P&gt;

&lt;P&gt;Sorry to be blunt. I would truly like to help.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2020 14:52:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478033#M192821</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2020-04-25T14:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478034#M192822</link>
      <description>&lt;P&gt;Thank you for replying again, appreciate it. &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;So, please provide some (sanitized) example data that shows the original data AND the various parts of the data (as you state "paragraphs") so that it can be determined exactly what you are trying to explain.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Ok, let me try to clarify it further then&lt;BR /&gt;
&lt;STRONG&gt;ORIGINAL DATA&lt;/STRONG&gt;/&lt;STRONG&gt;Screenshot of the csv opened in excel&lt;/STRONG&gt;&lt;BR /&gt;
&lt;IMG src="https://i.imgur.com/GCUy1PZ.png" alt="screenshot of csv in excel" /&gt;&lt;/P&gt;

&lt;HR /&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;It is still unclear what constitutes a "paragraph" and you talk about a first and second paragraph. So what part is the first paragraph? What part is the second paragraph? Are there always two paragraphs, or can there be just one? Are there ever three or more paragraphs?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I had a read through my responses here and cannot find where I mentioned first/second/third paragraphs sorry, hoping the screenshot above clarifies everything enough.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 03:37:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478034#M192822</guid>
      <dc:creator>anelson1</dc:creator>
      <dc:date>2020-04-26T03:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478035#M192823</link>
      <description>&lt;P&gt;Which time do you want by each maintenaceID? &lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 06:18:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478035#M192823</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-26T06:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478036#M192824</link>
      <description>&lt;P&gt;None, not worried about what time the entries are, I just need to be able to search for keywords that exist in the last entry in each paragraph, regardless if they appear in the rest of the paragraph or not.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 06:24:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478036#M192824</guid>
      <dc:creator>anelson1</dc:creator>
      <dc:date>2020-04-26T06:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478037#M192825</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| makeresults
| eval Paragraph="25.12.2019 07:24:06 UTC Initial text entry
25.12.2019 09:50:52 UTC Should this be cancelled?     
No additional information found 
26.12.2019 05:55:51 UTC No issues from this machine today, this should be cancelled"
| appendpipe [ eval Paragraph= "25.12.2019 07:24:06 UTC Initial text entry 
25.12.2019 09:50:52 UTC Should this be cancelled? 

No additional information found 
26.12.2019 05:55:51 UTC No issues from this machine today, this should be denied"]
| rex field=Paragraph max_match=0 "(?&amp;lt;timestamp&amp;gt;\S+\s\S+\sUTC)\s(?&amp;lt;msg&amp;gt;.+)"
| eval lastTimestamp=mvindex(timestamp,2), lastMsg=mvindex(msg,2)
| where match(lastMsg,"cancelled")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;use &lt;CODE&gt;rex&lt;/CODE&gt; and &lt;CODE&gt;where&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 06:39:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478037#M192825</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-26T06:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478038#M192826</link>
      <description>&lt;P&gt;I see, check my answer&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 07:21:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478038#M192826</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-26T07:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478039#M192827</link>
      <description>&lt;P&gt;Sadly, this doesn't do what I need. This will find the word canceled ANYWHERE in the paragraph, I need to only  find paragraphs where the word I'm looking for is in the last timestamped entry of the paragraph.&lt;/P&gt;

&lt;P&gt;For example:&lt;BR /&gt;
&lt;STRONG&gt;Paragraph example 1&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    "25.12.2019 07:24:06 UTC Initial text entry 
    25.12.2019 09:50:52 UTC Should this be cancelled?     
    No additional information found 
    26.12.2019 05:55:51 UTC No issues from this machine today, this should be cancelled"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Paragraph example 2&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"25.12.2019 07:24:06 UTC Initial text entry 
25.12.2019 09:50:52 UTC Should this be cancelled? 

No additional information found 
26.12.2019 05:55:51 UTC No issues from this machine today, this should be denied"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Example 2 has the word cancelled in it but not in the last timestamped entry, so this paragraph &lt;STRONG&gt;should NOT&lt;/STRONG&gt; be counted.&lt;BR /&gt;
Example 1 has the word cancelled in the last timestamped entry, so this paragraph &lt;STRONG&gt;SHOULD&lt;/STRONG&gt; be counted.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 07:30:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478039#M192827</guid>
      <dc:creator>anelson1</dc:creator>
      <dc:date>2020-04-26T07:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478040#M192828</link>
      <description>&lt;P&gt;I see, my answer is updated.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 07:57:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478040#M192828</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-26T07:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478041#M192829</link>
      <description>&lt;P&gt;Thank you, that looks very promising and I'm eager to see if it works, however I'm not sure how to implement your answer into my current search as I'm new to splunk and not that bright, could you please advise how I can implement your answer if my search text looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="maint_log.csv" host="Maint log data" sourcetype="csv" | eval Cancelled=if(match(Paragraph, "cancelled|Cancelled"), 1, 0) | table Cancelled "maintenance ID" Paragraph
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 26 Apr 2020 08:45:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478041#M192829</guid>
      <dc:creator>anelson1</dc:creator>
      <dc:date>2020-04-26T08:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search part of a text field (delimited by date)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478042#M192830</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;  source="maint_log.csv" host="Maint log data" sourcetype="csv" 
| rex field=Paragraph max_match=0 "(?&amp;lt;timestamp&amp;gt;\S+\s\S+\sUTC)\s(?&amp;lt;msg&amp;gt;.+)"
| eval lastTimestamp=mvindex(timestamp,2), lastMsg=mvindex(msg,2)
| eval Cancelled=if(match(lastMsg, "(?i)cancelled"), 1, 0) 
| table Cancelled "maintenance ID" Paragraph
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 26 Apr 2020 08:58:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-part-of-a-text-field-delimited-by-date/m-p/478042#M192830</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-26T08:58:23Z</dc:date>
    </item>
  </channel>
</rss>

