<?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: Fetching the keywords before creating queries in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686864#M15991</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;Thank you so much&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2024 10:21:28 GMT</pubDate>
    <dc:creator>Amadou</dc:creator>
    <dc:date>2024-05-08T10:21:28Z</dc:date>
    <item>
      <title>Fetching the keywords before creating queries</title>
      <link>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686557#M15984</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just want to know before creating an alert how to find the keywords inside that will compose your alert?&lt;/P&gt;&lt;P&gt;please answer with and example.&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 11:20:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686557#M15984</guid>
      <dc:creator>Amadou</dc:creator>
      <dc:date>2024-05-06T11:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the keywords before creating queries</title>
      <link>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686564#M15985</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/266190"&gt;@Amadou&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you better describe your requirement?&lt;/P&gt;&lt;P&gt;in the alert you should insert the conditions to verify.&lt;/P&gt;&lt;P&gt;e.g. if you want to chack thet in windows there aren't 10 logfail events (EventCode=4625), you could run:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=wineventlog EventCode=4625
| stats count BY host user
| where count&amp;gt;10&lt;/LI-CODE&gt;&lt;P&gt;As I said, the search depends on the conditions to check.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 12:32:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686564#M15985</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-05-06T12:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the keywords before creating queries</title>
      <link>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686572#M15986</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;For instance you received a ticket that say you have to create an alert to detect IAM root user multiple fail login attempt, index aws&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 13:54:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686572#M15986</guid>
      <dc:creator>Amadou</dc:creator>
      <dc:date>2024-05-06T13:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the keywords before creating queries</title>
      <link>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686576#M15987</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/266190"&gt;@Amadou&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;search in aws logs or documentation how to recognize the logfail in aws (e.g. in windows logfail is EventCode=4625) and modify my search.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 14:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686576#M15987</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-05-06T14:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the keywords before creating queries</title>
      <link>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686737#M15989</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;in case you just have an index and you have to find keywords inside of&amp;nbsp; this index, from which parameter you choose your keywords inside of this index? as we know in the left side&amp;nbsp; of splunk you have many field with keywords.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 14:47:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686737#M15989</guid>
      <dc:creator>Amadou</dc:creator>
      <dc:date>2024-05-07T14:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the keywords before creating queries</title>
      <link>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686765#M15990</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/266190"&gt;@Amadou&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the main issue in developing a Splunk search is to know what to search, then you can use the SPL for searching the rules that you defined in your knowledge of the technology to monitor.&lt;/P&gt;&lt;P&gt;I don't know what's your technology to monitor, as I said in my sample: if you are using windows EventCode=4625 menas log fail.&lt;/P&gt;&lt;P&gt;So what are the conditions that you need to search?&lt;/P&gt;&lt;P&gt;if you need to search a value in a field (e.g. EventCode=4625) you an use this field, if you need to search a string (e.g. "login successful"), you can search for this string.&lt;/P&gt;&lt;P&gt;Did you tried to follow the Splunk Search Tutorial (&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/8.1.0/SearchTutorial/WelcometotheSearchTutorial" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/8.1.0/SearchTutorial/WelcometotheSearchTutorial&lt;/A&gt;) to be guided in the use of SPL?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 15:16:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686765#M15990</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-05-07T15:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the keywords before creating queries</title>
      <link>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686864#M15991</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;Thank you so much&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 10:21:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686864#M15991</guid>
      <dc:creator>Amadou</dc:creator>
      <dc:date>2024-05-08T10:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the keywords before creating queries</title>
      <link>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686866#M15992</link>
      <description>&lt;P&gt;Thank you so much, i just find out that it is all about search at any time you receive and index to create an alert you should make a research on this index and the specific request that the user want you detect inside of this index.&lt;/P&gt;&lt;P&gt;example: redshift/&amp;nbsp; consecutive login failed&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 10:29:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686866#M15992</guid>
      <dc:creator>Amadou</dc:creator>
      <dc:date>2024-05-08T10:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the keywords before creating queries</title>
      <link>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686900#M15995</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/266190"&gt;@Amadou&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as I said, you have to find the conditions to search (in other words the words or strings or field values to search)&lt;/P&gt;&lt;P&gt;then you can use the stats command to find the number of occurrences grouped e.g. for host and user.&lt;/P&gt;&lt;P&gt;e.g. in windows if you want an alert with log failed greater than 5, you could run:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=wineventlog EventCode=4625
| stats count BY host user
| where count&amp;gt;5&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 15:44:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Fetching-the-keywords-before-creating-queries/m-p/686900#M15995</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-05-08T15:44:28Z</dc:date>
    </item>
  </channel>
</rss>

