<?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: How to add content from lookup table data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-add-content-from-lookup-table-data/m-p/624830#M107403</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244375"&gt;@sekhar463&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you want to use the data from lookup to enrich your search data, you can use the lookup command (as interd by&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/251844"&gt;@Manasa_401&lt;/a&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;If instead you want to save data from your search in the lookup, you have to explore the outputlookup command (&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.2/SearchReference/Outputlookup)" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.2/SearchReference/Outputlookup)&lt;/A&gt;&amp;nbsp;that must be added at the end of your search.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2022 10:59:35 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-12-20T10:59:35Z</dc:date>
    <item>
      <title>How to add content from lookup table data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-add-content-from-lookup-table-data/m-p/624814#M107398</link>
      <description>&lt;P&gt;Good day All!&lt;/P&gt;
&lt;P&gt;i have created a lookup data&amp;nbsp;| inputlookup Autosys.csv and i have fileds KB,REGION AND JOB_NAME.&lt;/P&gt;
&lt;P&gt;i have splunk search which i have some job data .&lt;/P&gt;
&lt;P&gt;how can ingest other fields in the lookup using JOB_NAME as common fileds splunk events&lt;/P&gt;
&lt;P&gt;below is the search which i want to add lookup data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=index_name  sourcetype=source_name
| eval Actualstarttime=strftime(strptime(NEXT_START,"%Y/%m/%d %H:%M:%S"),"%H:%M")
| eval Job_start_by=strftime(strptime(LAST_START,"%Y/%m/%d %H:%M:%S"),"%H:%M")
| eval START_SLA=if(Job_start_by &amp;lt;= Actualstarttime,"Started On Time","Started Late")
| eval END_SLA=if(RUNTIME &amp;lt;= AVG_RUN_TIME,"END ONTIME","END SLA BREACH")
| search NEXT_START!=NULL
| table JOB_NAME,JOB_GROUP,TIMEZONE,STATUS,Currenttime,STATUS_TIME,LAST_START,LAST_END,NEXT_START,DAYS_OF_WEEK,EXCLUDE_CALENDAR,RUNTIME,Actualstarttime,Job_start_by,START_SLA,AVG_RUN_TIME,END_SLA&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 13:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-add-content-from-lookup-table-data/m-p/624814#M107398</guid>
      <dc:creator>sekhar463</dc:creator>
      <dc:date>2022-12-20T13:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to add content from lookup table data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-add-content-from-lookup-table-data/m-p/624818#M107400</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244375"&gt;@sekhar463&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to include lookup data in the search using a common field then add below line to your query.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;|lookup&amp;nbsp;&lt;SPAN&gt;Autosys.csv JOB_NAME OUTPUT&amp;nbsp;KB REGION&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this helps, an upvote would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Manasa&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 10:16:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-add-content-from-lookup-table-data/m-p/624818#M107400</guid>
      <dc:creator>Manasa_401</dc:creator>
      <dc:date>2022-12-20T10:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to add content from lookup table data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-add-content-from-lookup-table-data/m-p/624824#M107401</link>
      <description>&lt;P&gt;Hello Mansa your awesome.&lt;/P&gt;&lt;P&gt;why its not worked even i have tried with automatic lookup as well&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 10:42:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-add-content-from-lookup-table-data/m-p/624824#M107401</guid>
      <dc:creator>sekhar463</dc:creator>
      <dc:date>2022-12-20T10:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to add content from lookup table data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-add-content-from-lookup-table-data/m-p/624829#M107402</link>
      <description>&lt;P&gt;Have you created lookup definition? If not try it.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 10:58:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-add-content-from-lookup-table-data/m-p/624829#M107402</guid>
      <dc:creator>Manasa_401</dc:creator>
      <dc:date>2022-12-20T10:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to add content from lookup table data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-add-content-from-lookup-table-data/m-p/624830#M107403</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244375"&gt;@sekhar463&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you want to use the data from lookup to enrich your search data, you can use the lookup command (as interd by&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/251844"&gt;@Manasa_401&lt;/a&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;If instead you want to save data from your search in the lookup, you have to explore the outputlookup command (&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.2/SearchReference/Outputlookup)" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.2/SearchReference/Outputlookup)&lt;/A&gt;&amp;nbsp;that must be added at the end of your search.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 10:59:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-add-content-from-lookup-table-data/m-p/624830#M107403</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-12-20T10:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to add content from lookup table data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-add-content-from-lookup-table-data/m-p/624835#M107404</link>
      <description>&lt;P&gt;hai yeah manasa i have created lookup definition and created automatic lookup as well for the source type&amp;nbsp;&lt;/P&gt;&lt;P&gt;after that i am searching with query the filelds are not added&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 11:16:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-add-content-from-lookup-table-data/m-p/624835#M107404</guid>
      <dc:creator>sekhar463</dc:creator>
      <dc:date>2022-12-20T11:16:07Z</dc:date>
    </item>
  </channel>
</rss>

