<?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'm new to splunk queries and how to create an alert using Linux commands on Splunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/I-m-new-to-splunk-queries-and-how-to-create-an-alert-using-Linux/m-p/582981#M203008</link>
    <description>&lt;P&gt;I need to write a Splunk alert to check number of connections on a server. Using below Linux command I can get the results on the server. But help me out in creating an alert on Splunk with the command.&lt;/P&gt;&lt;P&gt;ps -ef | grep '[s]shd' | grep -v ^root | grep -i &lt;A href="mailto:phgservice@internal*" target="_blank" rel="noopener"&gt;file*&lt;/A&gt; | wc -l&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jan 2022 19:29:35 GMT</pubDate>
    <dc:creator>Vin</dc:creator>
    <dc:date>2022-01-28T19:29:35Z</dc:date>
    <item>
      <title>I'm new to splunk queries and how to create an alert using Linux commands on Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-m-new-to-splunk-queries-and-how-to-create-an-alert-using-Linux/m-p/582981#M203008</link>
      <description>&lt;P&gt;I need to write a Splunk alert to check number of connections on a server. Using below Linux command I can get the results on the server. But help me out in creating an alert on Splunk with the command.&lt;/P&gt;&lt;P&gt;ps -ef | grep '[s]shd' | grep -v ^root | grep -i &lt;A href="mailto:phgservice@internal*" target="_blank" rel="noopener"&gt;file*&lt;/A&gt; | wc -l&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 19:29:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-m-new-to-splunk-queries-and-how-to-create-an-alert-using-Linux/m-p/582981#M203008</guid>
      <dc:creator>Vin</dc:creator>
      <dc:date>2022-01-28T19:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: I'm new to splunk queries and how to create an alert using Linux commands on Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-m-new-to-splunk-queries-and-how-to-create-an-alert-using-Linux/m-p/582996#M203011</link>
      <description>&lt;P&gt;That's a pretty straightforward query in Splunk.&amp;nbsp; However, do you have the equivalent to "ps -ef" logged in Splunk?&amp;nbsp; If not, then the alert won't work.&lt;/P&gt;&lt;P&gt;Another option is to create a scripted input that executes that CLI command and logs the result in Splunk.&amp;nbsp; Then you can alert on it.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 21:53:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-m-new-to-splunk-queries-and-how-to-create-an-alert-using-Linux/m-p/582996#M203011</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-01-28T21:53:53Z</dc:date>
    </item>
  </channel>
</rss>

