<?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 Field alias/calculated field in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Field-alias-calculated-field/m-p/560947#M6512</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;LOOKUP-asset_lookup = server_summary host OUTPUTNEW &amp;nbsp;&amp;nbsp;serveros AS asset_os&lt;/P&gt;&lt;P&gt;I have a lookup where serveros is one of the field&lt;/P&gt;&lt;P&gt;asset_os is one of the enriched field from serveros&lt;/P&gt;&lt;P&gt;Now, I need one more field called os (for datamodelling) which is same as asset_os&lt;/P&gt;&lt;P&gt;I tried below but its not working out ( I need both asset_os and os field)&lt;/P&gt;&lt;P&gt;1) I tried asset_os as os in field alias --&amp;gt; didnt work&lt;/P&gt;&lt;P&gt;2) I created a calculated field,&amp;nbsp;&lt;BR /&gt;case(isnotnull(asset_os),asset_os,1==1,"unkown") - asset_os is not showing in fields&lt;/P&gt;&lt;P&gt;3) I added the below line into props.conf - Also here&amp;nbsp;asset_os is not showing in fields&lt;/P&gt;&lt;P&gt;LOOKUP-asset_lookup1 = server_summary host OUTPUTNEW &amp;nbsp;&amp;nbsp;serveros AS&amp;nbsp;os&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other way I can get both asset_os and os field in the fields?&lt;/P&gt;&lt;P&gt;We cannot go for field extraction as the required field value is not available in logs, the value is taken from lookup table.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jul 2021 07:03:36 GMT</pubDate>
    <dc:creator>VijaySrrie</dc:creator>
    <dc:date>2021-07-27T07:03:36Z</dc:date>
    <item>
      <title>Field alias/calculated field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Field-alias-calculated-field/m-p/560947#M6512</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;LOOKUP-asset_lookup = server_summary host OUTPUTNEW &amp;nbsp;&amp;nbsp;serveros AS asset_os&lt;/P&gt;&lt;P&gt;I have a lookup where serveros is one of the field&lt;/P&gt;&lt;P&gt;asset_os is one of the enriched field from serveros&lt;/P&gt;&lt;P&gt;Now, I need one more field called os (for datamodelling) which is same as asset_os&lt;/P&gt;&lt;P&gt;I tried below but its not working out ( I need both asset_os and os field)&lt;/P&gt;&lt;P&gt;1) I tried asset_os as os in field alias --&amp;gt; didnt work&lt;/P&gt;&lt;P&gt;2) I created a calculated field,&amp;nbsp;&lt;BR /&gt;case(isnotnull(asset_os),asset_os,1==1,"unkown") - asset_os is not showing in fields&lt;/P&gt;&lt;P&gt;3) I added the below line into props.conf - Also here&amp;nbsp;asset_os is not showing in fields&lt;/P&gt;&lt;P&gt;LOOKUP-asset_lookup1 = server_summary host OUTPUTNEW &amp;nbsp;&amp;nbsp;serveros AS&amp;nbsp;os&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other way I can get both asset_os and os field in the fields?&lt;/P&gt;&lt;P&gt;We cannot go for field extraction as the required field value is not available in logs, the value is taken from lookup table.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 07:03:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Field-alias-calculated-field/m-p/560947#M6512</guid>
      <dc:creator>VijaySrrie</dc:creator>
      <dc:date>2021-07-27T07:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Field alias/calculated field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Field-alias-calculated-field/m-p/560951#M6513</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/164779"&gt;@VijaySrrie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you describe little more easy, what fields you have in lookup table, and what fields in events and which one is a match to lookup field.&lt;/P&gt;&lt;P&gt;what your output would be?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 07:22:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Field-alias-calculated-field/m-p/560951#M6513</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-07-27T07:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Field alias/calculated field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Field-alias-calculated-field/m-p/561134#M6529</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163730"&gt;@venkatasri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lookup table field name -&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;serveros&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Field available in log - No fields available&lt;/P&gt;&lt;P&gt;asset_os field is the enriched field from lookup table (serveros)&lt;/P&gt;&lt;P&gt;I am in need of field called os (os field used for data modelling)&amp;nbsp;&lt;/P&gt;&lt;P&gt;os field can be enriched from the lookup table field - serveros, but when I do like that asset_os field is not showing.&lt;/P&gt;&lt;P&gt;I need a way to create a field called os which can be enriched from the lookup table field serveros,&amp;nbsp; without disturbing the already existing field asset_os&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 03:26:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Field-alias-calculated-field/m-p/561134#M6529</guid>
      <dc:creator>VijaySrrie</dc:creator>
      <dc:date>2021-07-28T03:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Field alias/calculated field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Field-alias-calculated-field/m-p/561136#M6530</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/164779"&gt;@VijaySrrie&lt;/a&gt;&amp;nbsp; I am not quite understood yet.&lt;/P&gt;&lt;P&gt;Lookup table name - serveros ?&lt;/P&gt;&lt;P&gt;Field names in csv - asset_os, serveros&lt;/P&gt;&lt;P&gt;you want output - serveros AS os? along with asset_os ?&lt;/P&gt;&lt;P&gt;To enrich from CSV you should have some matching field in your event- you said 'No fields' meaning you just want to query the CSV and get the results using | inputlookup ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 03:36:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Field-alias-calculated-field/m-p/561136#M6530</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-07-28T03:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Field alias/calculated field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Field-alias-calculated-field/m-p/561138#M6531</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/164779"&gt;@VijaySrrie&lt;/a&gt;&amp;nbsp; Try this search UI from where you have access to lookup file. Do a inputlookup first to verify before.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| lookup server_summary host OUTPUTNEW serveros as os, asset_os&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 03:52:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Field-alias-calculated-field/m-p/561138#M6531</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-07-28T03:52:00Z</dc:date>
    </item>
  </channel>
</rss>

