<?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: &amp;quot;As&amp;quot; command modifier not working in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/quot-As-quot-command-modifier-not-working/m-p/440562#M171497</link>
    <description>&lt;P&gt;Hi Grook, &lt;BR /&gt;
U will have to rename the command prior to |table, such as &lt;BR /&gt;
    | rename JSESSIONID as usersession&lt;BR /&gt;
and then call it to table &lt;/P&gt;</description>
    <pubDate>Mon, 06 May 2019 23:15:00 GMT</pubDate>
    <dc:creator>pruthvikrishnap</dc:creator>
    <dc:date>2019-05-06T23:15:00Z</dc:date>
    <item>
      <title>"As" command modifier not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-As-quot-command-modifier-not-working/m-p/440561#M171496</link>
      <description>&lt;P&gt;New to Splunk. Trying to use the "as" command modifier to change the name of a column. However, the modifier is not being highlighted or changing the column name. &lt;/P&gt;

&lt;P&gt;Here is my SPL string:&lt;BR /&gt;
&lt;EM&gt;sourcetype="access_combined_wcookie" status=200 file="success.do" &lt;BR /&gt;
| table JSESSIONID as UserSession&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:21:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-As-quot-command-modifier-not-working/m-p/440561#M171496</guid>
      <dc:creator>grook</dc:creator>
      <dc:date>2020-09-30T00:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: "As" command modifier not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-As-quot-command-modifier-not-working/m-p/440562#M171497</link>
      <description>&lt;P&gt;Hi Grook, &lt;BR /&gt;
U will have to rename the command prior to |table, such as &lt;BR /&gt;
    | rename JSESSIONID as usersession&lt;BR /&gt;
and then call it to table &lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 23:15:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-As-quot-command-modifier-not-working/m-p/440562#M171497</guid>
      <dc:creator>pruthvikrishnap</dc:creator>
      <dc:date>2019-05-06T23:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: "As" command modifier not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-As-quot-command-modifier-not-working/m-p/440563#M171498</link>
      <description>&lt;P&gt;Like this? &lt;/P&gt;

&lt;P&gt;sourcetype="access_combined_wcookie" status=200 file="success.do" &lt;BR /&gt;
| rename JSESSIONID as UserSessions &lt;BR /&gt;
| table UserSession&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:21:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-As-quot-command-modifier-not-working/m-p/440563#M171498</guid>
      <dc:creator>grook</dc:creator>
      <dc:date>2020-09-30T00:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: "As" command modifier not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-As-quot-command-modifier-not-working/m-p/440564#M171499</link>
      <description>&lt;P&gt;yeah did it work?&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 00:01:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-As-quot-command-modifier-not-working/m-p/440564#M171499</guid>
      <dc:creator>pruthvikrishnap</dc:creator>
      <dc:date>2019-05-07T00:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: "As" command modifier not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-As-quot-command-modifier-not-working/m-p/440565#M171500</link>
      <description>&lt;P&gt;Seems typo, field name should match, so if you rename you should use exact field name afterwards.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  | rename JSESSIONID as UserSessions
  | table UserSessions
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you have space or special characters in the field name you should use double quotes. For example &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  | rename JSESSIONID as "User Session IDs"
  | table "User Session IDs"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 May 2019 02:28:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-As-quot-command-modifier-not-working/m-p/440565#M171500</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-05-07T02:28:49Z</dc:date>
    </item>
  </channel>
</rss>

