<?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: Modify source name while summary indexing data in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446222#M7172</link>
    <description>&lt;P&gt;well..  When we use &lt;STRONG&gt;collect&lt;/STRONG&gt;, if someone, &lt;STRONG&gt;by mistake&lt;/STRONG&gt; runs the saved search (through &lt;STRONG&gt;open in search&lt;/STRONG&gt; option) the data will be summary indexed. I would like to avoid this.&lt;/P&gt;

&lt;P&gt;So I want to summary index the data only by scheduling the saved search and change the source_name.&lt;/P&gt;

&lt;P&gt;Please let me know if I am not clear.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jun 2018 18:17:47 GMT</pubDate>
    <dc:creator>angelinealex</dc:creator>
    <dc:date>2018-06-15T18:17:47Z</dc:date>
    <item>
      <title>Modify source name while summary indexing data</title>
      <link>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446218#M7168</link>
      <description>&lt;P&gt;I have a saved search called &lt;STRONG&gt;searchA&lt;/STRONG&gt;. I am scheduling this  saved search and summary indexing the data. After the scheduler runs i am seeing the source value as searchA &lt;STRONG&gt;(source=searchA)&lt;/STRONG&gt;. But I would like to have the source value as &lt;STRONG&gt;searchX&lt;/STRONG&gt; &lt;STRONG&gt;(source=searchX)&lt;/STRONG&gt;. &lt;/P&gt;

&lt;P&gt;How to achieve it when the scheduler runs or do I have option to change the source name in searchA code itself, so that it can be picked up when the saved search runs?&lt;/P&gt;

&lt;P&gt;Can someone help me?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 18:49:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446218#M7168</guid>
      <dc:creator>angelinealex</dc:creator>
      <dc:date>2018-06-13T18:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Modify source name while summary indexing data</title>
      <link>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446219#M7169</link>
      <description>&lt;P&gt;hello there,&lt;/P&gt;

&lt;P&gt;you can leverage &lt;CODE&gt;collect&lt;/CODE&gt; command to put results in summary indexes and overwrite the source&lt;BR /&gt;
&lt;CODE&gt;.... your search | collect index =&amp;lt;index_name&amp;gt; source=&amp;lt;source_name&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;
read here more:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.1/SearchReference/Collect"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.1/SearchReference/Collect&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 20:33:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446219#M7169</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-06-13T20:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Modify source name while summary indexing data</title>
      <link>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446220#M7170</link>
      <description>&lt;P&gt;thanks for the response. It works. But it adds the data into summary index when I just run the saved search. I mean run the below query in the search box. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.... my search | collect index =&amp;lt;index_name&amp;gt; source=&amp;lt;source_name&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can we control that to modify the source only when the saved search executes during the schedule time? Or is there any other way to change the source name only when the savedsearch executes during scheduled time?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 21:10:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446220#M7170</guid>
      <dc:creator>angelinealex</dc:creator>
      <dc:date>2018-06-13T21:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Modify source name while summary indexing data</title>
      <link>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446221#M7171</link>
      <description>&lt;P&gt;not sure exactly what you mean.&lt;BR /&gt;
a search, scheduled or not, populates the summery index.&lt;BR /&gt;
convert your saved search to the format above and save it to meet your requirements.&lt;BR /&gt;
hope i understood your comment&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 00:41:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446221#M7171</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-06-14T00:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Modify source name while summary indexing data</title>
      <link>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446222#M7172</link>
      <description>&lt;P&gt;well..  When we use &lt;STRONG&gt;collect&lt;/STRONG&gt;, if someone, &lt;STRONG&gt;by mistake&lt;/STRONG&gt; runs the saved search (through &lt;STRONG&gt;open in search&lt;/STRONG&gt; option) the data will be summary indexed. I would like to avoid this.&lt;/P&gt;

&lt;P&gt;So I want to summary index the data only by scheduling the saved search and change the source_name.&lt;/P&gt;

&lt;P&gt;Please let me know if I am not clear.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 18:17:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446222#M7172</guid>
      <dc:creator>angelinealex</dc:creator>
      <dc:date>2018-06-15T18:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Modify source name while summary indexing data</title>
      <link>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446223#M7173</link>
      <description>&lt;P&gt;how does that different form &lt;CODE&gt;sistats&lt;/CODE&gt; or whatever you are doing today? &lt;BR /&gt;
i feel like i already answered how to rename the &lt;CODE&gt;source&lt;/CODE&gt; field when summarizing data via search. if not, please elaborate, as i probably did not understand your question&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 20:19:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446223#M7173</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-06-15T20:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Modify source name while summary indexing data</title>
      <link>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446224#M7174</link>
      <description>&lt;P&gt;There is no way to change the behavior of a search based on whether it was scheduled or not.  The &lt;CODE&gt;collect&lt;/CODE&gt; command will always write to the summary index (unless the &lt;CODE&gt;testmode&lt;/CODE&gt; option is enabled) every time the search executes.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 14:12:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Modify-source-name-while-summary-indexing-data/m-p/446224#M7174</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-12-06T14:12:59Z</dc:date>
    </item>
  </channel>
</rss>

