<?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: Renaming field name having # in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Renaming-field-name-having/m-p/356512#M170083</link>
    <description>&lt;P&gt;yes i accept with @ssadanala1. &lt;BR /&gt;
I hope you need to rename the field name in spl query right. If yes is your answer. &lt;BR /&gt;
Then you can use simple rename command and change the field name.&lt;/P&gt;

&lt;P&gt;Example :&lt;/P&gt;

&lt;P&gt;| makeresults &lt;BR /&gt;
|eval "#Data" = 1&lt;BR /&gt;
     |eval "#client Name"="study"&lt;BR /&gt;
     |rename #Data as Data, "#client Name" as "client Name"&lt;/P&gt;

&lt;P&gt;You can simply use this for renaming your field..&lt;BR /&gt;
  |rename #Data as Data, "#client Name" as "client Name"&lt;/P&gt;</description>
    <pubDate>Tue, 24 Apr 2018 11:16:16 GMT</pubDate>
    <dc:creator>Shan</dc:creator>
    <dc:date>2018-04-24T11:16:16Z</dc:date>
    <item>
      <title>Renaming field name having #</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Renaming-field-name-having/m-p/356510#M170081</link>
      <description>&lt;P&gt;How can I rename a field name starting with # in Splunk search tab? &lt;BR /&gt;
For example: field name I have "#client Name" and I want to rename it as "clientName"&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 19:07:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Renaming-field-name-having/m-p/356510#M170081</guid>
      <dc:creator>ccflsampa</dc:creator>
      <dc:date>2018-04-23T19:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming field name having #</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Renaming-field-name-having/m-p/356511#M170082</link>
      <description>&lt;P&gt;Please try this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
|eval "#hello" = "1"|eval "#hola"="2"
|rename #* as *
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Apr 2018 19:53:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Renaming-field-name-having/m-p/356511#M170082</guid>
      <dc:creator>ssadanala1</dc:creator>
      <dc:date>2018-04-23T19:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming field name having #</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Renaming-field-name-having/m-p/356512#M170083</link>
      <description>&lt;P&gt;yes i accept with @ssadanala1. &lt;BR /&gt;
I hope you need to rename the field name in spl query right. If yes is your answer. &lt;BR /&gt;
Then you can use simple rename command and change the field name.&lt;/P&gt;

&lt;P&gt;Example :&lt;/P&gt;

&lt;P&gt;| makeresults &lt;BR /&gt;
|eval "#Data" = 1&lt;BR /&gt;
     |eval "#client Name"="study"&lt;BR /&gt;
     |rename #Data as Data, "#client Name" as "client Name"&lt;/P&gt;

&lt;P&gt;You can simply use this for renaming your field..&lt;BR /&gt;
  |rename #Data as Data, "#client Name" as "client Name"&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 11:16:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Renaming-field-name-having/m-p/356512#M170083</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2018-04-24T11:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming field name having #</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Renaming-field-name-having/m-p/356513#M170084</link>
      <description>&lt;P&gt;Thank you!&lt;BR /&gt;
I am able to rename the field name with # (successfully renamed # MHCP Cases to MHCPCases)&lt;BR /&gt;
but while saving the results to the dashboard I am getting the error (The dataset "RootObject" has no field " MHCP Cases" ). How can I avoid this error?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 14:48:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Renaming-field-name-having/m-p/356513#M170084</guid>
      <dc:creator>ccflsampa</dc:creator>
      <dc:date>2018-04-24T14:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming field name having #</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Renaming-field-name-having/m-p/356514#M170085</link>
      <description>&lt;P&gt;@ ccflsampa : I hope you got your answer. If the above commands helps. Please accept the answer and close the question.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 05:51:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Renaming-field-name-having/m-p/356514#M170085</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2018-04-27T05:51:43Z</dc:date>
    </item>
  </channel>
</rss>

