<?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 i have 40 use cases to evaluate status or incidents in a log file? What programming approch should i follow, how can i use CASE statement here? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/i-have-40-use-cases-to-evaluate-status-or-incidents-in-a-log/m-p/290153#M165033</link>
    <description>&lt;P&gt;I have 40 usecases.&lt;BR /&gt;
I have 800+ incidents in incident log file &lt;BR /&gt;
Every inicident should be evaluated by these 40 usecases, and relative feedback should be added to the report .&lt;BR /&gt;
1 incident can have 1 or more than 1 feedback depending on how many usecases turn out to be true.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Nov 2017 09:02:56 GMT</pubDate>
    <dc:creator>alfiyashaikh</dc:creator>
    <dc:date>2017-11-20T09:02:56Z</dc:date>
    <item>
      <title>i have 40 use cases to evaluate status or incidents in a log file? What programming approch should i follow, how can i use CASE statement here?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/i-have-40-use-cases-to-evaluate-status-or-incidents-in-a-log/m-p/290153#M165033</link>
      <description>&lt;P&gt;I have 40 usecases.&lt;BR /&gt;
I have 800+ incidents in incident log file &lt;BR /&gt;
Every inicident should be evaluated by these 40 usecases, and relative feedback should be added to the report .&lt;BR /&gt;
1 incident can have 1 or more than 1 feedback depending on how many usecases turn out to be true.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 09:02:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/i-have-40-use-cases-to-evaluate-status-or-incidents-in-a-log/m-p/290153#M165033</guid>
      <dc:creator>alfiyashaikh</dc:creator>
      <dc:date>2017-11-20T09:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: i have 40 use cases to evaluate status or incidents in a log file? What programming approch should i follow, how can i use CASE statement here?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/i-have-40-use-cases-to-evaluate-status-or-incidents-in-a-log/m-p/290154#M165034</link>
      <description>&lt;P&gt;Hi alfiyashaikh,&lt;BR /&gt;
use a lookup to manage all your patterns to search:&lt;BR /&gt;
if you have to search a value in a field, use this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_search [ | inputlookup my_patterns.csv | table field ]
| ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;field name must be the same in search.&lt;/P&gt;

&lt;P&gt;If instead you have to search a pattern in full text search, use this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_search [ | inputlookup my_patterns.csv | rename field AS query | table query ]
| ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have a lookup with all the patterns to search typed by sourcetype, so I can use all patterns or only the ones with a specific sourcetype&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_search [ | inputlookup my_patterns.csv | search sourcetype=my_sourcetype | rename field AS query | table query ]
| ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 09:44:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/i-have-40-use-cases-to-evaluate-status-or-incidents-in-a-log/m-p/290154#M165034</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-11-20T09:44:55Z</dc:date>
    </item>
  </channel>
</rss>

