<?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: Is it possible to use one field alias for multiple fields? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282737#M2484</link>
    <description>&lt;P&gt;I would also suggest to look at creating "Calculated fields" using an eval functions like  coalesce.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;In props.conf
[&amp;lt;stanza&amp;gt;]
EVAL-Z = coalesce(A,B,C)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Knowledge/definecalcfields"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Knowledge/definecalcfields&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2016 14:04:04 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-06-07T14:04:04Z</dc:date>
    <item>
      <title>Is it possible to use one field alias for multiple fields?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282733#M2480</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;is it possible to use one field alias for multiple fields?&lt;/P&gt;

&lt;P&gt;For example I want to use field aliases to rename these fields to Z&lt;BR /&gt;
A -&amp;gt; Z&lt;BR /&gt;
B -&amp;gt; Z&lt;BR /&gt;
C -&amp;gt; Z&lt;/P&gt;

&lt;P&gt;Currently the renaming is not working correctly.&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;BR /&gt;
Heinz&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 08:16:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282733#M2480</guid>
      <dc:creator>HeinzWaescher</dc:creator>
      <dc:date>2016-06-07T08:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use one field alias for multiple fields?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282734#M2481</link>
      <description>&lt;P&gt;As long as an event does not have more than one of the fields (A,B,C). If more than one field exists in an event, aliased field (Z) will take the values from the last entry in props.conf. So, for example if your props entry is `FIELDALIAS-multialias = A AS Z B AS Z C AS Z1, if an event has fields A and C, the aliased field Z will take value from field C&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 12:15:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282734#M2481</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-06-07T12:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use one field alias for multiple fields?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282735#M2482</link>
      <description>&lt;P&gt;The events do not have more than one the fields A, B, C. It seems, that sometimes Z is not extracted during the search&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 12:31:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282735#M2482</guid>
      <dc:creator>HeinzWaescher</dc:creator>
      <dc:date>2016-06-07T12:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use one field alias for multiple fields?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282736#M2483</link>
      <description>&lt;P&gt;Field names are case sensitive. Make sure all events have the right case. The times when Z does not have a value, is it for a specific origin field. In other words, is it always for field A or B etc or is it random?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 13:58:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282736#M2483</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-06-07T13:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use one field alias for multiple fields?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282737#M2484</link>
      <description>&lt;P&gt;I would also suggest to look at creating "Calculated fields" using an eval functions like  coalesce.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;In props.conf
[&amp;lt;stanza&amp;gt;]
EVAL-Z = coalesce(A,B,C)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Knowledge/definecalcfields"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Knowledge/definecalcfields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 14:04:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282737#M2484</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-06-07T14:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use one field alias for multiple fields?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282738#M2485</link>
      <description>&lt;P&gt;All fields have the right case. Sometimes it works as intended, for example when I use a short timerange or only a few different events. But on the other hand, after searching more events, Z is empty for events where it worked before.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 06:38:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282738#M2485</guid>
      <dc:creator>HeinzWaescher</dc:creator>
      <dc:date>2016-06-08T06:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use one field alias for multiple fields?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282739#M2486</link>
      <description>&lt;P&gt;Good point, that would be a possible workaround. But I think this approach is more expensive than field aliases, am I correct?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 06:39:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Is-it-possible-to-use-one-field-alias-for-multiple-fields/m-p/282739#M2486</guid>
      <dc:creator>HeinzWaescher</dc:creator>
      <dc:date>2016-06-08T06:39:33Z</dc:date>
    </item>
  </channel>
</rss>

