<?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: Create a list to collect well-knowed process in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-list-to-collect-quot-well-knowed-process-quot/m-p/602968#M209859</link>
    <description>&lt;P class="lia-align-left"&gt;Thanks,&amp;nbsp; it works perfectly!&lt;/P&gt;&lt;P class="lia-align-left"&gt;Is there a semantic to don't append the same processes in the .csv file?&lt;/P&gt;&lt;P class="lia-align-left"&gt;Because I run the search everyday (for a while) to appending new processes (to train the model about the main processes in the machine) and i would to prevent double processes in .csv file.&lt;/P&gt;&lt;P class="lia-align-left"&gt;Thanks a lot!&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2022 08:58:56 GMT</pubDate>
    <dc:creator>raffaelecervino</dc:creator>
    <dc:date>2022-06-23T08:58:56Z</dc:date>
    <item>
      <title>How to create a list to collect "well-knowed process"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-list-to-collect-quot-well-knowed-process-quot/m-p/602768#M209811</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm doing a project and I've installed Splunk Trial Enterprise on a server and Universal Forwarder on other three servers (with Ubuntu) that sends me logs. On forwarders exist a script that sends me logs of every processes that's running on server.&lt;/P&gt;
&lt;P&gt;I would to create a dynamic list where logs of processes is added and tagged as "Well-Knowned Processes". &amp;nbsp;&lt;BR /&gt;After that when new logs of processes come to indexer they are compared with logs on dynamic list and if the process was not recognized (doesn't exist in the list) the alert is triggered.&lt;/P&gt;
&lt;P&gt;I would to do that to check suspicious process.&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Jun 2022 18:16:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-list-to-collect-quot-well-knowed-process-quot/m-p/602768#M209811</guid>
      <dc:creator>raffaelecervino</dc:creator>
      <dc:date>2022-06-23T18:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list to collect well-knowed process</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-list-to-collect-quot-well-knowed-process-quot/m-p/602774#M209815</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247088"&gt;@raffaelecervino&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you have two choices:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;schedule a search that lists all the "well_known" processes and stores them in a lookup to use for the following checks;&lt;/LI&gt;&lt;LI&gt;run a long search.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I prefer the first solution because is quicker but it requires a little bit more work.&lt;/P&gt;&lt;P&gt;in few words, you have to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;create a lookup called e.g.&amp;nbsp;processes.csv in which there's at least one column called process (the same field name to search),&lt;/LI&gt;&lt;LI&gt;schedule a search like the following using a frequency that depends on when you want to update your list (e.g. one time a day or every hour),&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;index=your_index
| dedup process
| sort process
| table process
| outputlookup processes.csv append=true&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;schedule an alert like the following to trigger when there are results (results&amp;gt;0):&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;| index=your_index NOT [ | inputlookup processes.csv | dedup process | fields process ]
| dedup process
| sort process
| table process&lt;/LI-CODE&gt;&lt;P&gt;In this way you have a very quick search that you can run also with an high frequency and, if you want, you can also manually modify the lookup adding or deleting processes.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 11:17:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-list-to-collect-quot-well-knowed-process-quot/m-p/602774#M209815</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-22T11:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list to collect well-knowed process</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-list-to-collect-quot-well-knowed-process-quot/m-p/602967#M209858</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247088"&gt;@raffaelecervino&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 08:52:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-list-to-collect-quot-well-knowed-process-quot/m-p/602967#M209858</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-23T08:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list to collect well-knowed process</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-list-to-collect-quot-well-knowed-process-quot/m-p/602968#M209859</link>
      <description>&lt;P class="lia-align-left"&gt;Thanks,&amp;nbsp; it works perfectly!&lt;/P&gt;&lt;P class="lia-align-left"&gt;Is there a semantic to don't append the same processes in the .csv file?&lt;/P&gt;&lt;P class="lia-align-left"&gt;Because I run the search everyday (for a while) to appending new processes (to train the model about the main processes in the machine) and i would to prevent double processes in .csv file.&lt;/P&gt;&lt;P class="lia-align-left"&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 08:58:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-list-to-collect-quot-well-knowed-process-quot/m-p/602968#M209859</guid>
      <dc:creator>raffaelecervino</dc:creator>
      <dc:date>2022-06-23T08:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list to collect well-knowed process</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-list-to-collect-quot-well-knowed-process-quot/m-p/602971#M209861</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247088"&gt;@raffaelecervino&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you could create another scheduled search that every day removes duplicates, something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup processes.csv
| dedup process
| sort process
| table process
| outputlookup processes.csv&lt;/LI-CODE&gt;&lt;P&gt;or modify the sceduled search for populating the lookup:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index
| fields process
| append [ | inputlookup processes.csv | fields process ]
| dedup process
| sort process
| table process
| outputlookup processes.csv&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 09:08:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-list-to-collect-quot-well-knowed-process-quot/m-p/602971#M209861</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-23T09:08:08Z</dc:date>
    </item>
  </channel>
</rss>

