<?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: Filter for messages that contains text with quotation marks in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700408#M237681</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;one thing what you should do is to check how events are in raw data. Probably the easiest way is check it via "Event Actions -&amp;gt; Show Source". &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="isoutamo_0-1727519863159.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32856i0D9AF748D681C5D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="isoutamo_0-1727519863159.png" alt="isoutamo_0-1727519863159.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In that way you will see how it really is. After that you know (especially with json) are there any space or other character which you need to take care on your strings.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
    <pubDate>Sat, 28 Sep 2024 10:39:14 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2024-09-28T10:39:14Z</dc:date>
    <item>
      <title>Filter for messages that contains text with quotation marks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700376#M237672</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a hard time trying to narrow down my search results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to return only the results that contain the following string on the message:&amp;nbsp;&lt;EM&gt;"progress":"COMPLETED","subtopics":"COMPLETED"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The text must be all together, in the sequence above.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried to add a string like the one below in my search but it didn't work:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;message="*\"progress\":\"COMPLETED\",\"subtopics\":\"COMPLETED\"*"&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;Does anyone have suggestions on how to do that?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I appreciate any help you can provide.&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 Sep 2024 19:33:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700376#M237672</guid>
      <dc:creator>raculim</dc:creator>
      <dc:date>2024-09-27T19:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for messages that contains text with quotation marks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700379#M237673</link>
      <description>&lt;P&gt;Seems to work for me.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PickleRick_0-1727466910629.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32848i3C0FD5AFBEF88E63/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PickleRick_0-1727466910629.png" alt="PickleRick_0-1727466910629.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;9.3.0&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 19:55:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700379#M237673</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-09-27T19:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for messages that contains text with quotation marks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700390#M237675</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, thanks for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me try to give you a more concrete example:&lt;/P&gt;&lt;P&gt;1. One search example that returns a single result (this works as expected)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raculim_0-1727471674959.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32850iDC6F69F71B515C19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raculim_0-1727471674959.png" alt="raculim_0-1727471674959.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. Adding the TOPIC_COMPLETION string to the search (this works as expected)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raculim_1-1727471887747.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32851i9DD90A7FBC604847/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raculim_1-1727471887747.png" alt="raculim_1-1727471887747.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;Adding the "TOPIC_COMPLETION" string to the search (this &lt;STRONG&gt;doesn't&lt;/STRONG&gt; return any results. I was expecting the same results as in 1 and 2)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raculim_2-1727472020374.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32852iC609F56D7AB966B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raculim_2-1727472020374.png" alt="raculim_2-1727472020374.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Version&amp;nbsp;&lt;SPAN&gt;9.2.2406.107&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 Sep 2024 21:21:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700390#M237675</guid>
      <dc:creator>raculim</dc:creator>
      <dc:date>2024-09-27T21:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for messages that contains text with quotation marks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700391#M237676</link>
      <description>&lt;P&gt;Try enclosing your search term with quotes.&lt;/P&gt;&lt;PRE&gt;"\"TOPIC_COMPLETION\""&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Sep 2024 22:23:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700391#M237676</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-09-27T22:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for messages that contains text with quotation marks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700406#M237680</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/272640"&gt;@raculim&lt;/a&gt;&amp;nbsp;..&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;'s suggestion works fine, tested (9.3.0)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="inventsekar_0-1727507219641.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32855iC0FA2D5524FADDC0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="inventsekar_0-1727507219641.png" alt="inventsekar_0-1727507219641.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2024 07:07:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700406#M237680</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2024-09-28T07:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for messages that contains text with quotation marks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700408#M237681</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;one thing what you should do is to check how events are in raw data. Probably the easiest way is check it via "Event Actions -&amp;gt; Show Source". &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="isoutamo_0-1727519863159.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32856i0D9AF748D681C5D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="isoutamo_0-1727519863159.png" alt="isoutamo_0-1727519863159.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In that way you will see how it really is. After that you know (especially with json) are there any space or other character which you need to take care on your strings.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2024 10:39:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700408#M237681</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-09-28T10:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for messages that contains text with quotation marks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700528#M237696</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The raw data contains some backslashes already:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;\"TOPIC_COMPLETION\"&lt;/LI-CODE&gt;&lt;P&gt;So I had to perform my seach like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="..." "08:29:41.630" AND \\\"TOPIC_COMPLETION\\\"&lt;/LI-CODE&gt;&lt;P&gt;Now it's working properly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 11:53:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-for-messages-that-contains-text-with-quotation-marks/m-p/700528#M237696</guid>
      <dc:creator>raculim</dc:creator>
      <dc:date>2024-09-30T11:53:33Z</dc:date>
    </item>
  </channel>
</rss>

