<?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 there a way to get Alert from adding lookup in query? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Is-there-a-way-to-get-Alert-from-adding-lookup-in-query/m-p/562812#M12891</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/235178"&gt;@DougiieDee&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;| head 200&amp;nbsp; &amp;nbsp; &amp;nbsp; should work.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Aug 2021 21:31:58 GMT</pubDate>
    <dc:creator>venkatasri</dc:creator>
    <dc:date>2021-08-10T21:31:58Z</dc:date>
    <item>
      <title>Is there a way to get Alert from adding lookup in query?</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-way-to-get-Alert-from-adding-lookup-in-query/m-p/562348#M12847</link>
      <description>I am trying to get the alert when Excerption error happens but there are many hosts and services. In splunk the services and host arent arranged so manually I added the service name and hosts in csv file. is there a way or similar condition to get log events saying this serivce is getting error is this host with the message</description>
      <pubDate>Fri, 06 Aug 2021 03:12:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-way-to-get-Alert-from-adding-lookup-in-query/m-p/562348#M12847</guid>
      <dc:creator>DougiieDee</dc:creator>
      <dc:date>2021-08-06T03:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to get Alert from adding lookup in query?</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-way-to-get-Alert-from-adding-lookup-in-query/m-p/562351#M12848</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/235178"&gt;@DougiieDee&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you explain bit more easily to understand.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 04:36:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-way-to-get-Alert-from-adding-lookup-in-query/m-p/562351#M12848</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-08-06T04:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to get Alert from adding lookup in query?</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-way-to-get-Alert-from-adding-lookup-in-query/m-p/562660#M12884</link>
      <description>&lt;P&gt;i have a csv file which has host and service. In splunk host is there but not service. i wanted to search with the csv file so it displays as service host and message when the event happened. is there a way to do it?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 20:10:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-way-to-get-Alert-from-adding-lookup-in-query/m-p/562660#M12884</guid>
      <dc:creator>DougiieDee</dc:creator>
      <dc:date>2021-08-09T20:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to get Alert from adding lookup in query?</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-way-to-get-Alert-from-adding-lookup-in-query/m-p/562683#M12885</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/235178"&gt;@DougiieDee&lt;/a&gt;&amp;nbsp;You can use lookup command prior to that you CSV shall be configured as lookup first assuming you did this already.&lt;/P&gt;&lt;P&gt;You SPL would something like this, when you say Message i hope you are referring to original event itself that's an _raw field in Splunk. host is the the common field hence you output your service. &amp;lt;lookup_name&amp;gt; and &amp;lt;your_search&amp;gt; are just place holders you have to replace them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;your_search&amp;gt; 
| lookup &amp;lt;lookup_name&amp;gt; host OUTPUT service 
| table host service _raw&lt;/LI-CODE&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;An upvote would be appreciated if this reply helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 23:20:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-way-to-get-Alert-from-adding-lookup-in-query/m-p/562683#M12885</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-08-09T23:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to get Alert from adding lookup in query?</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-way-to-get-Alert-from-adding-lookup-in-query/m-p/562784#M12888</link>
      <description>&lt;P class="lia-align-left"&gt;Thank you worked perfectly. Also is there a way to limit the message like only take first 200 words?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 17:34:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-way-to-get-Alert-from-adding-lookup-in-query/m-p/562784#M12888</guid>
      <dc:creator>DougiieDee</dc:creator>
      <dc:date>2021-08-10T17:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to get Alert from adding lookup in query?</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-way-to-get-Alert-from-adding-lookup-in-query/m-p/562812#M12891</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/235178"&gt;@DougiieDee&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;| head 200&amp;nbsp; &amp;nbsp; &amp;nbsp; should work.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 21:31:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-way-to-get-Alert-from-adding-lookup-in-query/m-p/562812#M12891</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-08-10T21:31:58Z</dc:date>
    </item>
  </channel>
</rss>

