<?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 fields in search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55658#M13586</link>
    <description>&lt;P&gt;Thank you, this is very useful!&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2019 15:40:52 GMT</pubDate>
    <dc:creator>jbuckner85</dc:creator>
    <dc:date>2019-05-23T15:40:52Z</dc:date>
    <item>
      <title>renaming fields in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55650#M13578</link>
      <description>&lt;P&gt;I have a query like this&lt;/P&gt;

&lt;P&gt;sourcetype="beta" index="alpha" | table fieldA, fieldB, fieldC&lt;/P&gt;

&lt;P&gt;how do I rename fields fieldA to A, fieldB to B and fieldC to C&lt;/P&gt;

&lt;P&gt;These fields are strings AND numbers (not sure how I would use stats or table)&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2012 16:46:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55650#M13578</guid>
      <dc:creator>asarolkar</dc:creator>
      <dc:date>2012-05-18T16:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: renaming fields in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55651#M13579</link>
      <description>&lt;P&gt;you can use the rename command .... | rename fieldA AS newname, fieldB AS b | table newname, b&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2012 17:06:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55651#M13579</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-05-18T17:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: renaming fields in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55652#M13580</link>
      <description>&lt;P&gt;yup.. thanks a bunch&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2012 17:28:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55652#M13580</guid>
      <dc:creator>asarolkar</dc:creator>
      <dc:date>2012-05-18T17:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: renaming fields in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55653#M13581</link>
      <description>&lt;P&gt;While the above works, you are probably better expanding rename command instead of piping to rename for every field you want renamed.&lt;/P&gt;

&lt;P&gt;eg.  | rename fieldA AS newnameA, fieldB AS newnameB, fieldC AS newnameC&lt;BR /&gt;&lt;BR /&gt;
instead of:&lt;BR /&gt;
| rename fieldA AS newnameA |rename fieldB AS newnameB |rename fieldC AS newnameC  &lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2013 05:32:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55653#M13581</guid>
      <dc:creator>cam343</dc:creator>
      <dc:date>2013-06-14T05:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: renaming fields in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55654#M13582</link>
      <description>&lt;P&gt;Agreed, I just changed it.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2013 16:26:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55654#M13582</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2013-06-14T16:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: renaming fields in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55655#M13583</link>
      <description>&lt;P&gt;Hey, fellow Splunkers, &lt;/P&gt;

&lt;P&gt;When I actually attempted to conduct multiple rename fields using that method, I receive the following error: rename [old_name AS/TO/-&amp;gt; new_name]+ &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:35:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55655#M13583</guid>
      <dc:creator>asarran</dc:creator>
      <dc:date>2020-09-29T10:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: renaming fields in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55656#M13584</link>
      <description>&lt;P&gt;Can you post the search it should be like:&lt;/P&gt;

&lt;P&gt;| rename user_name AS user, src AS "IP Address", host AS "Server Name"&lt;/P&gt;

&lt;P&gt;hope that helps...&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 02:00:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55656#M13584</guid>
      <dc:creator>cam343</dc:creator>
      <dc:date>2016-08-12T02:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: renaming fields in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55657#M13585</link>
      <description>&lt;P&gt;Perhaps more elegant (and practical for many fields) to do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rename field* AS *
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Feb 2017 19:59:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55657#M13585</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2017-02-01T19:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: renaming fields in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55658#M13586</link>
      <description>&lt;P&gt;Thank you, this is very useful!&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 15:40:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/renaming-fields-in-search/m-p/55658#M13586</guid>
      <dc:creator>jbuckner85</dc:creator>
      <dc:date>2019-05-23T15:40:52Z</dc:date>
    </item>
  </channel>
</rss>

