<?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: Rename the Values in the Json fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Rename-the-Values-in-the-Json-fields/m-p/530760#M149939</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224665"&gt;@Supriya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want to remove spaces between Summary field values or new lines ?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 06:09:00 GMT</pubDate>
    <dc:creator>thambisetty</dc:creator>
    <dc:date>2020-11-25T06:09:00Z</dc:date>
    <item>
      <title>Rename the Values in the Json fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rename-the-Values-in-the-Json-fields/m-p/530753#M149936</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could someone please help me with the rename of the string Values in the fields.&lt;/P&gt;&lt;P&gt;I want to remove the spaces from the below-highlighted values&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Supriya_0-1606282997524.png" style="width: 565px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12050iB1EE36DC26CD562E/image-dimensions/565x486?v=v2" width="565" height="486" role="button" title="Supriya_0-1606282997524.png" alt="Supriya_0-1606282997524.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;here is the query I'm trying :&lt;/P&gt;&lt;P&gt;index="index" sourcetype=_json&lt;BR /&gt;|spath path="results{}.summary" output=Summary| spath path="results{}.description" output=Description&lt;BR /&gt;|spath path="results{}.category" output=Category |spath path="results{}.sysAdmin" output=SysAdmin&lt;BR /&gt;|rename Values(Summary) as values|rename values("User deactivated") AS "User_deactivated"&lt;BR /&gt;| table Summary Category SysAdmin&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 05:45:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rename-the-Values-in-the-Json-fields/m-p/530753#M149936</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2020-11-25T05:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rename the Values in the Json fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rename-the-Values-in-the-Json-fields/m-p/530760#M149939</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224665"&gt;@Supriya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want to remove spaces between Summary field values or new lines ?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 06:09:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rename-the-Values-in-the-Json-fields/m-p/530760#M149939</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-11-25T06:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rename the Values in the Json fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rename-the-Values-in-the-Json-fields/m-p/530765#M149940</link>
      <description>&lt;P&gt;removing spaces between Summary field values&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 06:47:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rename-the-Values-in-the-Json-fields/m-p/530765#M149940</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2020-11-25T06:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rename the Values in the Json fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rename-the-Values-in-the-Json-fields/m-p/530766#M149941</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224665"&gt;@Supriya&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=Summary mode=sed "s/\s+//g"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 06:54:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rename-the-Values-in-the-Json-fields/m-p/530766#M149941</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-11-25T06:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rename the Values in the Json fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rename-the-Values-in-the-Json-fields/m-p/530767#M149942</link>
      <description>&lt;P&gt;It's working,&lt;/P&gt;&lt;P&gt;Thank you very much for your prompt support &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129407"&gt;@thambisetty&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 06:58:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rename-the-Values-in-the-Json-fields/m-p/530767#M149942</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2020-11-25T06:58:16Z</dc:date>
    </item>
  </channel>
</rss>

