<?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: Save search results to index in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-command-that-I-can-add-to-the-search-query-in-order/m-p/603953#M210104</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247263"&gt;@splunknoob2&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you're using a Search Head Cluster, cloning a knowledhe obkect (like a Correlation Search) in one SH, the operation is replicated on the others.&lt;/P&gt;&lt;P&gt;The same operation is done if you modify some setting in a Correlation Search, but it's a best practice not modify a default Correlation Search, it's always better to clone it and modify the cloned one.&lt;/P&gt;&lt;P&gt;If instead you haven't a Cluster, you have to do the same things manually&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2022 11:49:16 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-06-30T11:49:16Z</dc:date>
    <item>
      <title>Is there a command that I can add to the search query in order to pass the results to the index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-command-that-I-can-add-to-the-search-query-in-order/m-p/603600#M210028</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a question regarding the indexing of search results. So, I have an alert that's currently active performing and search and passing the results to a particular event through log events, I would like to modify this job to run in a specific past time window, however I can't edit the job so I would like to be able to run the same search through the splunk search bar and pass the results to the index. I can run the search and get the results through the search but can't output it to the index.&lt;/P&gt;
&lt;P&gt;Is there a command that I can add to the search query in order to pass the results to the index?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 17:21:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-command-that-I-can-add-to-the-search-query-in-order/m-p/603600#M210028</guid>
      <dc:creator>splunknoob2</dc:creator>
      <dc:date>2022-06-28T17:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Save search results to index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-command-that-I-can-add-to-the-search-query-in-order/m-p/603603#M210030</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247263"&gt;@splunknoob2&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you could clone your alert in a new one that usually is disabled, instead the original one continue to work.&lt;/P&gt;&lt;P&gt;When you need to run it, you could modify the time frame or other parameters of the modified alert and run once.&lt;/P&gt;&lt;P&gt;In this way, you should continue to have all the actions of the original alert and a new one that you can modify without any change in the original one.&lt;/P&gt;&lt;P&gt;Only for my information, are you speaking of a Correlatin Search in ES or in an alert in another App?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 13:57:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-command-that-I-can-add-to-the-search-query-in-order/m-p/603603#M210030</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-28T13:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Save search results to index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-command-that-I-can-add-to-the-search-query-in-order/m-p/603948#M210101</link>
      <description>&lt;P&gt;Thank for your answer. However I cannot clone the job because there are several search heads in the environment and if I do it the job will only appear on the SH I am into (which usually isnt the "captain"). Is there a command to do it in the search bar something like "|logactions" that would take a expression like "action.logevent.param.event = _time=$result._time$" as a parameter? I tried collect however it does not work exactly as the log event action.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 10:58:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-command-that-I-can-add-to-the-search-query-in-order/m-p/603948#M210101</guid>
      <dc:creator>splunknoob2</dc:creator>
      <dc:date>2022-06-30T10:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Save search results to index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-command-that-I-can-add-to-the-search-query-in-order/m-p/603953#M210104</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247263"&gt;@splunknoob2&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you're using a Search Head Cluster, cloning a knowledhe obkect (like a Correlation Search) in one SH, the operation is replicated on the others.&lt;/P&gt;&lt;P&gt;The same operation is done if you modify some setting in a Correlation Search, but it's a best practice not modify a default Correlation Search, it's always better to clone it and modify the cloned one.&lt;/P&gt;&lt;P&gt;If instead you haven't a Cluster, you have to do the same things manually&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 11:49:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-command-that-I-can-add-to-the-search-query-in-order/m-p/603953#M210104</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-30T11:49:16Z</dc:date>
    </item>
  </channel>
</rss>

