<?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 How to search a string in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-string/m-p/709512#M239802</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi Community, please help me how to extract BOLD/underlines value from below string:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[2025-01-22 13:33:33,899] INFO Setting connector &lt;U&gt;&lt;STRONG&gt;ABC_SOMECONNECTOR_CHANGE_EVENT_SRC_Q_V1&lt;/STRONG&gt; &lt;/U&gt;state to PAUSED (org.apache.kafka.connect.runtime.Worker:1391)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2025 19:29:57 GMT</pubDate>
    <dc:creator>RGullur</dc:creator>
    <dc:date>2025-01-22T19:29:57Z</dc:date>
    <item>
      <title>How to search a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-string/m-p/709512#M239802</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Community, please help me how to extract BOLD/underlines value from below string:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[2025-01-22 13:33:33,899] INFO Setting connector &lt;U&gt;&lt;STRONG&gt;ABC_SOMECONNECTOR_CHANGE_EVENT_SRC_Q_V1&lt;/STRONG&gt; &lt;/U&gt;state to PAUSED (org.apache.kafka.connect.runtime.Worker:1391)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 19:29:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-string/m-p/709512#M239802</guid>
      <dc:creator>RGullur</dc:creator>
      <dc:date>2025-01-22T19:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to search a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-string/m-p/709515#M239803</link>
      <description>&lt;P&gt;The regex is simple enough.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;^.*\sSetting\sconnector\s(?&amp;lt;connector_event&amp;gt;[^\s]+).*$&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 22 Jan 2025 20:28:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-string/m-p/709515#M239803</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2025-01-22T20:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to search a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-string/m-p/709520#M239804</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/194981"&gt;@dural_yyz&lt;/a&gt;&amp;nbsp;says, the regex is easy - you can use this with the rex command&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.4.0/SearchReference/rex" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.4.0/SearchReference/rex&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 20:52:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-string/m-p/709520#M239804</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2025-01-22T20:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to search a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-string/m-p/709521#M239805</link>
      <description>&lt;P&gt;Anchoring the regex to the beginning of the string is not needed and actually significantly impacts the performance (match in 154 steps vs. 29 without the "^.*" part).&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 20:53:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-string/m-p/709521#M239805</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-01-22T20:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to search a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-string/m-p/709786#M239860</link>
      <description>&lt;P&gt;Combining everyone's suggestions, here is a command that is ready to go &lt;STRONG&gt;if&lt;/STRONG&gt; that string is all you need:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "Setting connector (&amp;lt;myfield&amp;gt;\S+)"&lt;/LI-CODE&gt;&lt;P&gt;How strictly or loosely you want to set anchors and matches heavily depends on actual data and use case. &amp;nbsp;This is just something to get you started.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2025 07:00:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-string/m-p/709786#M239860</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2025-01-26T07:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to search a string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-string/m-p/709802#M239867</link>
      <description>regex101.com is excellent place to try how these rex are working or not. It also show execution cost of different versions and contains some other help.</description>
      <pubDate>Sun, 26 Jan 2025 21:56:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-string/m-p/709802#M239867</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2025-01-26T21:56:44Z</dc:date>
    </item>
  </channel>
</rss>

