<?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: URL Encoding in fields and values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/URL-Encoding-in-fields-and-values/m-p/36439#M178557</link>
    <description>&lt;P&gt;Before (current)&lt;/P&gt;

&lt;P&gt;DocTitle&lt;BR /&gt;
You%20all%20ready%20for%20this%20%3F&lt;/P&gt;

&lt;P&gt;After (desired result)&lt;/P&gt;

&lt;P&gt;DocTitle &lt;BR /&gt;
You all ready for this ? &lt;/P&gt;

&lt;P&gt;Nearly all fields that search returns I would want this sort of conversion applied, there are only two exceptions I can think of.&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2013 15:53:40 GMT</pubDate>
    <dc:creator>DanielFordWA</dc:creator>
    <dc:date>2013-05-16T15:53:40Z</dc:date>
    <item>
      <title>URL Encoding in fields and values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/URL-Encoding-in-fields-and-values/m-p/36437#M178555</link>
      <description>&lt;P&gt;There are a number of fields that contain values that have had certain characters encoded.&lt;/P&gt;

&lt;P&gt;I would like the below URL Encoding reference table applied to all fields and values, what would be the best way to go about this?&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.w3schools.com/tags/ref_urlencode.asp"&gt;http://www.w3schools.com/tags/ref_urlencode.asp&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 15:11:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/URL-Encoding-in-fields-and-values/m-p/36437#M178555</guid>
      <dc:creator>DanielFordWA</dc:creator>
      <dc:date>2013-05-16T15:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: URL Encoding in fields and values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/URL-Encoding-in-fields-and-values/m-p/36438#M178556</link>
      <description>&lt;P&gt;Sorry, kindda confused.  Could you please provide a simple before and after picture of what you want to accomplish?  I think I know but I don't want to make any assumptions with your use case.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 15:41:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/URL-Encoding-in-fields-and-values/m-p/36438#M178556</guid>
      <dc:creator>barakreeves</dc:creator>
      <dc:date>2013-05-16T15:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: URL Encoding in fields and values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/URL-Encoding-in-fields-and-values/m-p/36439#M178557</link>
      <description>&lt;P&gt;Before (current)&lt;/P&gt;

&lt;P&gt;DocTitle&lt;BR /&gt;
You%20all%20ready%20for%20this%20%3F&lt;/P&gt;

&lt;P&gt;After (desired result)&lt;/P&gt;

&lt;P&gt;DocTitle &lt;BR /&gt;
You all ready for this ? &lt;/P&gt;

&lt;P&gt;Nearly all fields that search returns I would want this sort of conversion applied, there are only two exceptions I can think of.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 15:53:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/URL-Encoding-in-fields-and-values/m-p/36439#M178557</guid>
      <dc:creator>DanielFordWA</dc:creator>
      <dc:date>2013-05-16T15:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: URL Encoding in fields and values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/URL-Encoding-in-fields-and-values/m-p/36440#M178558</link>
      <description>&lt;P&gt;You can use the urldecode function for eval if you want to apply this to searches:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;basesearch | eval decoded_field=urldecode(encoded_field)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or you can also set this up in props.conf to do it automatically (&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf):" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf):&lt;/A&gt;&lt;BR /&gt;
    EVAL-decoded_field=urldecode(encoded_field)&lt;/P&gt;

&lt;P&gt;I do not think, that there is an easy way to apply this to all fields though&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:55:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/URL-Encoding-in-fields-and-values/m-p/36440#M178558</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2020-09-28T13:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: URL Encoding in fields and values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/URL-Encoding-in-fields-and-values/m-p/36441#M178559</link>
      <description>&lt;P&gt;Thanks for the response.&lt;/P&gt;

&lt;P&gt;The data is imported in iis-2 format. During search I use “extract auto=true” to get each field from the cs_uri_stem as these fields are not automatically captured when indexing.&lt;/P&gt;

&lt;P&gt;If I alter the props config will it change all encoding in the cs_uri_stem? &lt;/P&gt;

&lt;P&gt;There are two parameters in the cs_uri_stem I would not want to decode.&lt;/P&gt;

&lt;P&gt;The eval function in search does work but I would like to do it at the indexing stage.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:55:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/URL-Encoding-in-fields-and-values/m-p/36441#M178559</guid>
      <dc:creator>DanielFordWA</dc:creator>
      <dc:date>2020-09-28T13:55:16Z</dc:date>
    </item>
  </channel>
</rss>

