<?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: Table function is encoding my search results- how can I prevent this from happening? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Table-function-is-encoding-my-search-results-how-can-I-prevent/m-p/641187#M222144</link>
    <description>&lt;P&gt;Yes,&lt;BR /&gt;&lt;BR /&gt;I did try it but looks like is not the &lt;STRONG&gt;replace function&lt;/STRONG&gt; that is causing the data to be encoded and yes the&amp;nbsp;&lt;STRONG&gt;table&lt;/STRONG&gt; function.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, It also doesn't work.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2023 20:00:40 GMT</pubDate>
    <dc:creator>Klaus_Mueller</dc:creator>
    <dc:date>2023-04-24T20:00:40Z</dc:date>
    <item>
      <title>Table function is encoding my search results- how can I prevent this from happening?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-function-is-encoding-my-search-results-how-can-I-prevent/m-p/641165#M222134</link>
      <description>&lt;P&gt;My search is supposed to return some data with double quotes on it but when I use the&amp;nbsp;&lt;STRONG&gt;TABLE function &lt;/STRONG&gt;the results displayed are encoded.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;Search:&lt;BR /&gt;&lt;/STRONG&gt;index=* "america" "PurchaseOrgE"&lt;BR /&gt;|rex "Query being run \[(?&amp;lt;Query&amp;gt;(.*?)(?=\]))"&lt;BR /&gt;|eval ParsedQuery = replace(Query," AND "," AND ")&lt;BR /&gt;|table ParsedQuery&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Expected result:&lt;BR /&gt;&lt;/STRONG&gt;SELECT M2HTab1."SupplierKey.UniqueName" AS "SupplierKey_UniqueName",M2HTab1."Name"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Current result:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;SELECT M2HTab1.&amp;amp;quot;SupplierKey.UniqueName&amp;amp;quot; AS &amp;amp;quot;SupplierKey_UniqueName&amp;amp;quot;,M2HTab1.&amp;amp;quot;Name&amp;amp;quot;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;As you can see in the examples the double quotes are encoded making it hard to properly see the results.&lt;BR /&gt;&lt;BR /&gt;Is there a way to prevent this from happening?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 17:32:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-function-is-encoding-my-search-results-how-can-I-prevent/m-p/641165#M222134</guid>
      <dc:creator>Klaus_Mueller</dc:creator>
      <dc:date>2023-04-24T17:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Table function is encoding my search results- how can I prevent this from happening?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-function-is-encoding-my-search-results-how-can-I-prevent/m-p/641184#M222143</link>
      <description>&lt;P&gt;Have you tried the &lt;FONT face="courier new,courier"&gt;urldecode&lt;/FONT&gt; function?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=* "america" "PurchaseOrgE"
|rex "Query being run \[(?&amp;lt;Query&amp;gt;(.*?)(?=\]))"
|eval ParsedQuery = urldecode(replace(Query," AND "," AND "))
|table ParsedQuery&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 19:35:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-function-is-encoding-my-search-results-how-can-I-prevent/m-p/641184#M222143</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-04-24T19:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table function is encoding my search results- how can I prevent this from happening?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-function-is-encoding-my-search-results-how-can-I-prevent/m-p/641187#M222144</link>
      <description>&lt;P&gt;Yes,&lt;BR /&gt;&lt;BR /&gt;I did try it but looks like is not the &lt;STRONG&gt;replace function&lt;/STRONG&gt; that is causing the data to be encoded and yes the&amp;nbsp;&lt;STRONG&gt;table&lt;/STRONG&gt; function.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, It also doesn't work.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 20:00:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-function-is-encoding-my-search-results-how-can-I-prevent/m-p/641187#M222144</guid>
      <dc:creator>Klaus_Mueller</dc:creator>
      <dc:date>2023-04-24T20:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Table function is encoding my search results- how can I prevent this from happening?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-function-is-encoding-my-search-results-how-can-I-prevent/m-p/641193#M222147</link>
      <description>&lt;P&gt;Which version are you using and what do your events look like?&lt;/P&gt;&lt;P&gt;My tests don't show any form of conversion (either escaping or HTML encoding).&lt;/P&gt;&lt;P&gt;For example, this run-anywhere search&lt;/P&gt;&lt;PRE&gt;| makeresults &lt;BR /&gt;| eval a="\"a quoted text with \" ' quotes \"" &lt;BR /&gt;| table a&lt;/PRE&gt;&lt;P&gt;shows a perfectly good and expected output of&lt;/P&gt;&lt;PRE&gt;"a quoted text with " ' quotes "&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 20:34:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-function-is-encoding-my-search-results-how-can-I-prevent/m-p/641193#M222147</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-04-24T20:34:03Z</dc:date>
    </item>
  </channel>
</rss>

