<?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: Problem with Fields Aliases in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-Fields-Aliases/m-p/370439#M160559</link>
    <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;with coalesce function I can retrieve all the values, thank you.&lt;BR /&gt;
But I need to know if alias function works correctly, I need to do this type of function for a lot of fields so I could be much more "comfortable" use an alias.&lt;/P&gt;

&lt;P&gt;My search it's simple:&lt;/P&gt;

&lt;P&gt;index="index_name" | table _time,"ALIAS",CODE1,CODE2&lt;/P&gt;

&lt;P&gt;It seems that alias does not "store" correctly one of the field.&lt;/P&gt;

&lt;P&gt;Thanks a lot.&lt;BR /&gt;
Marco&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2017 07:53:29 GMT</pubDate>
    <dc:creator>mcalta</dc:creator>
    <dc:date>2017-06-26T07:53:29Z</dc:date>
    <item>
      <title>Problem with Fields Aliases</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-Fields-Aliases/m-p/370436#M160556</link>
      <description>&lt;P&gt;Hi all, &lt;BR /&gt;
I have some problem with fields aliases.&lt;BR /&gt;
I try to explain, I receive a message MQ with a XML message body; i'm able to retrieve every tag into the body.&lt;BR /&gt;
Now I need to "map" two or more tag under the same alias, something like this:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3123i4567757CFC941E91/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;If I search by single tag I found a lot of values, but when i try to search with alias I found only a few values (below an example).&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3124i5071FDC208CB0353/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;As you can see values like 9781 or 9779 are always identified, the others values not.&lt;BR /&gt;
I tried to modify or check or rewrite props/fields/transorm.conf, but I have always the same result.&lt;/P&gt;

&lt;P&gt;Please I need some help, I don't know how to solve.&lt;/P&gt;

&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jun 2017 20:33:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-Fields-Aliases/m-p/370436#M160556</guid>
      <dc:creator>mcalta</dc:creator>
      <dc:date>2017-06-24T20:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Fields Aliases</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-Fields-Aliases/m-p/370437#M160557</link>
      <description>&lt;P&gt;We are never going to understand unless you show the searches and the results that go with them.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jun 2017 23:26:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-Fields-Aliases/m-p/370437#M160557</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-25T23:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Fields Aliases</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-Fields-Aliases/m-p/370438#M160558</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
It's useful to have your search and results.&lt;BR /&gt;
in the meantime did you tried with a calculated field using coalesce?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval ElaborationCode=coalesce(SLOGELAB,SPOSELAB)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 06:49:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-Fields-Aliases/m-p/370438#M160558</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-06-26T06:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Fields Aliases</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-Fields-Aliases/m-p/370439#M160559</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;with coalesce function I can retrieve all the values, thank you.&lt;BR /&gt;
But I need to know if alias function works correctly, I need to do this type of function for a lot of fields so I could be much more "comfortable" use an alias.&lt;/P&gt;

&lt;P&gt;My search it's simple:&lt;/P&gt;

&lt;P&gt;index="index_name" | table _time,"ALIAS",CODE1,CODE2&lt;/P&gt;

&lt;P&gt;It seems that alias does not "store" correctly one of the field.&lt;/P&gt;

&lt;P&gt;Thanks a lot.&lt;BR /&gt;
Marco&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 07:53:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-Fields-Aliases/m-p/370439#M160559</guid>
      <dc:creator>mcalta</dc:creator>
      <dc:date>2017-06-26T07:53:29Z</dc:date>
    </item>
  </channel>
</rss>

