<?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: Adding an second identical column and field to Splunk table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Adding-an-second-identical-column-and-field-to-Splunk-table/m-p/348995#M103327</link>
    <description>&lt;P&gt;Heh.  &lt;/P&gt;

&lt;P&gt;Two answers in one:  No, it can't but you can make humans think it did.&lt;/P&gt;

&lt;P&gt;The run anywhere sample code looks like this ... &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | makeresults 
 | eval george = "first one" 
 | eval frank = "second one" 
 | rename frank as " george" 
 | table _time george " george"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;... with the resulting output... &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; _time                george      george 
 2017-06-18 23:07:44  first one  second one  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can also just change the capitalization rather than including invisible spaces in the field name.  Humans will disregard the difference.&lt;/P&gt;</description>
    <pubDate>Sun, 18 Jun 2017 23:11:16 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2017-06-18T23:11:16Z</dc:date>
    <item>
      <title>Adding an second identical column and field to Splunk table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-an-second-identical-column-and-field-to-Splunk-table/m-p/348993#M103325</link>
      <description>&lt;P&gt;In order to coincide with an excel spreadsheet, I was hoping that Splunk table can provide two columns that our identical but listed with data at the beginning and the middle of the table sheet.  Is there a way to have the same field name column more than once?&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jun 2017 21:36:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-an-second-identical-column-and-field-to-Splunk-table/m-p/348993#M103325</guid>
      <dc:creator>dxw350</dc:creator>
      <dc:date>2017-06-18T21:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an second identical column and field to Splunk table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-an-second-identical-column-and-field-to-Splunk-table/m-p/348994#M103326</link>
      <description>&lt;P&gt;I don't believe you can have the same field name. The closest you could do is different capitalization or adding a special character to it. &lt;/P&gt;</description>
      <pubDate>Sun, 18 Jun 2017 23:05:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-an-second-identical-column-and-field-to-Splunk-table/m-p/348994#M103326</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-06-18T23:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an second identical column and field to Splunk table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-an-second-identical-column-and-field-to-Splunk-table/m-p/348995#M103327</link>
      <description>&lt;P&gt;Heh.  &lt;/P&gt;

&lt;P&gt;Two answers in one:  No, it can't but you can make humans think it did.&lt;/P&gt;

&lt;P&gt;The run anywhere sample code looks like this ... &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | makeresults 
 | eval george = "first one" 
 | eval frank = "second one" 
 | rename frank as " george" 
 | table _time george " george"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;... with the resulting output... &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; _time                george      george 
 2017-06-18 23:07:44  first one  second one  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can also just change the capitalization rather than including invisible spaces in the field name.  Humans will disregard the difference.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jun 2017 23:11:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-an-second-identical-column-and-field-to-Splunk-table/m-p/348995#M103327</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-06-18T23:11:16Z</dc:date>
    </item>
  </channel>
</rss>

