<?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 what is the difference between addinfo and search? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336425#M6085</link>
    <description>&lt;P&gt;Could anyone please provide the difference between addinfo and search&lt;BR /&gt;
Please&lt;/P&gt;</description>
    <pubDate>Sun, 15 Apr 2018 17:18:30 GMT</pubDate>
    <dc:creator>logloganathan</dc:creator>
    <dc:date>2018-04-15T17:18:30Z</dc:date>
    <item>
      <title>what is the difference between addinfo and search?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336425#M6085</link>
      <description>&lt;P&gt;Could anyone please provide the difference between addinfo and search&lt;BR /&gt;
Please&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 17:18:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336425#M6085</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-04-15T17:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between addinfo and search?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336426#M6086</link>
      <description>&lt;P&gt;&lt;CODE&gt;| addinfo&lt;/CODE&gt; is used to add search meatdata to the search results where &lt;CODE&gt;search&lt;/CODE&gt; is used to search events that have been indexed. &lt;CODE&gt;addinfo&lt;/CODE&gt;  has special use cases such as ITSI where &lt;CODE&gt;search&lt;/CODE&gt; is much more common. &lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.3/SearchReference/Addinfo"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.3/SearchReference/Addinfo&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 18:18:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336426#M6086</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-04-15T18:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between addinfo and search?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336427#M6087</link>
      <description>&lt;P&gt;These are very different commands and I can't see where the confusion is.&lt;/P&gt;

&lt;P&gt;The search command has two uses. If it is the first command in a search request, it pulls data from the indexer that matches the terms you give it. In this case the word search is optional.  If it is a subsequent command, it is a filter and any events or rows that do not match the terms get dropped.&lt;/P&gt;

&lt;P&gt;Addinfo does not add new events or filter existing ones. It adds 4 fields about the search to every event. ( info_min_time, info_max_time, info_sid and info_search_time)  This is normally used as a step in summary indexing.&lt;BR /&gt;
See &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Addinfo" target="_blank"&gt;docs on addinfo&lt;/A&gt; for more detail or &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Usesummaryindexing" target="_blank"&gt;this explanation of summary indexing &lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:02:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336427#M6087</guid>
      <dc:creator>bmunson_splunk</dc:creator>
      <dc:date>2020-09-29T19:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between addinfo and search?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336428#M6088</link>
      <description>&lt;P&gt;@logloganathan could you provide the reason for finding the difference between &lt;CODE&gt;addinfo&lt;/CODE&gt; and &lt;CODE&gt;search&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;As stated in the answers below Splunk Documentation would be good place to read about and try out addinfo command.&lt;/P&gt;

&lt;P&gt;Whenever you run a search in Search bar it runs &lt;CODE&gt;search&lt;/CODE&gt; command For example if you run the following query:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  index=_internal
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And then check the Job Inspector and open the Search Job Properties you would notice the search property as &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  search index=_internal
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For Sub queries &lt;CODE&gt;search&lt;/CODE&gt; needs to be mentioned explicitly check out examples of &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Append"&gt;append&lt;/A&gt;, &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Appendcols"&gt;appendcols&lt;/A&gt; and &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Join"&gt;join&lt;/A&gt;. &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Search/Typesofcommands#Generating"&gt;Generating commands&lt;/A&gt; do not start with search rather they start with a pipe.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 22:06:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336428#M6088</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-15T22:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between addinfo and search?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336429#M6089</link>
      <description>&lt;P&gt;All &lt;CODE&gt;| addinfo&lt;/CODE&gt; does is tell you some basic things about your search job (timepicker settings, job ID, and time that your search took); it does not change your search at all, it just adds 5 fields to every event.  Adding &lt;CODE&gt;| search&lt;/CODE&gt; will allow you to further filter your results at that point down to a more select set; it most definitely does change your search.  These commands really have no commonality of any kind.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 22:59:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336429#M6089</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-04-15T22:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between addinfo and search?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336430#M6090</link>
      <description>&lt;P&gt;@logloganathan, I see that you have down voted my comment. Down voting should only be reserved for suggestions/solutions that could be potentially harmful for a Splunk environment or goes completely against known best practices.&lt;/P&gt;

&lt;P&gt;Simply commenting with more information about what didn't work and what you've tried (or whatever other info may be relevant) would suffice to help you troubleshoot further.&lt;/P&gt;

&lt;P&gt;Refer to community guidelines (ironically again on Splunk Docs :)): &lt;A href="https://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/Splunkcommunityguidelines"&gt;https://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/Splunkcommunityguidelines&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I am curious to know as to how request to research on own before asking question is harmful for you/your environment. Please clarify!!!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 14:25:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336430#M6090</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-16T14:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between addinfo and search?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336431#M6091</link>
      <description>&lt;P&gt;1)I just reported your comment and i never down-voted.&lt;BR /&gt;
2) I want to get difference between addinfo and search( when i teach the Splunk query and i got this question from my colleagues) here i just struck.There is nothing available for difference between addinfo and search&lt;BR /&gt;
3)you have not provided answer that i was looking for but you are asking why you need?&lt;/P&gt;

&lt;P&gt;you should give respect for all the questions posted in the community&lt;BR /&gt;
There are also who ask questions like "How to start the Splunk"&lt;BR /&gt;
 This is one example and i can say lot of new example&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/462710/are-there-any-splunk-training-materials-for-new-us.html"&gt;https://answers.splunk.com/answers/462710/are-there-any-splunk-training-materials-for-new-us.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also the document that you mentioning say "we can downvote"&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/Splunkcommunityguidelines"&gt;https://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/Splunkcommunityguidelines&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;"Be honest. Above all, be honest. If you see misinformation, vote it down. Insert comments indicating what, specifically, is wrong. Even better -- edit and improve the information! Provide stronger, faster, superior answers of your own!"&lt;/P&gt;

&lt;P&gt;Please give respect for me. Thanks for providing the opportunity to share my opinion  &lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 15:56:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-addinfo-and-search/m-p/336431#M6091</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-04-16T15:56:17Z</dc:date>
    </item>
  </channel>
</rss>

