<?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: Explain param name=&amp;quot;search&amp;quot; in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Explain-param-name-quot-search-quot/m-p/35124#M6374</link>
    <description>&lt;P&gt;Where to even begin... Firstly I think this shouts to me that you haven't read any of the documentation and that you're trying to hack Splunk into doing something you want by diving into the code... STOP!&lt;/P&gt;

&lt;P&gt;Go back, read the tutorials and learn!&lt;/P&gt;

&lt;P&gt;Firstly, what you have pasted above is some advanced xml. Have you tried the simple xml yet? In the above paste its a HiddenSearch module which has a required search param, inside here you paste the search you want to run.&lt;/P&gt;

&lt;P&gt;You ask how to search a csv? Well.. is it a lookup or indexed? if its indexed then you search it like you would any other indexed data, if its a lookup then you can use the &lt;CODE&gt;|inputlookup&lt;/CODE&gt; command to pull it in to then search.&lt;/P&gt;

&lt;P&gt;The more detail you give the better the answer, also the more you try to learn yourself the easier you will find this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Some links;&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Tutorial/WelcometotheSplunktutorial"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Tutorial/WelcometotheSplunktutorial&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Tutorial/Aboutgettingdatain"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Tutorial/Aboutgettingdatain&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Viz/OverviewofSimplifiedXML"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/Viz/OverviewofSimplifiedXML&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/SearchReference/Inputlookup"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/SearchReference/Inputlookup&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 17 Feb 2013 13:11:06 GMT</pubDate>
    <dc:creator>Drainy</dc:creator>
    <dc:date>2013-02-17T13:11:06Z</dc:date>
    <item>
      <title>Explain param name="search"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Explain-param-name-quot-search-quot/m-p/35123#M6373</link>
      <description>&lt;P&gt;can you pls explain &lt;OBJECT&gt;&lt;PARAM name="search" /&gt; tag,in all the examples they used index=_internal source=*metrics.log if i want to use .csv file from local drive what is the syntax, pls explain or example&lt;/OBJECT&gt;&lt;/P&gt;

&lt;P&gt;&lt;MODULE name="HiddenSearch" layoutpanel="panel_row2_col1" autorun="True"&gt;&lt;BR /&gt;
    &lt;OBJECT&gt;&lt;PARAM name="search" /&gt;&lt;BR /&gt;
      index=_internal source=*metrics.log group=per_sourcetype_thruput&lt;BR /&gt;
      | chart sum(kb) over series | sort -sum(kb) | head 10&lt;BR /&gt;
    &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:20:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Explain-param-name-quot-search-quot/m-p/35123#M6373</guid>
      <dc:creator>mgraju</dc:creator>
      <dc:date>2020-09-28T13:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Explain param name="search"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Explain-param-name-quot-search-quot/m-p/35124#M6374</link>
      <description>&lt;P&gt;Where to even begin... Firstly I think this shouts to me that you haven't read any of the documentation and that you're trying to hack Splunk into doing something you want by diving into the code... STOP!&lt;/P&gt;

&lt;P&gt;Go back, read the tutorials and learn!&lt;/P&gt;

&lt;P&gt;Firstly, what you have pasted above is some advanced xml. Have you tried the simple xml yet? In the above paste its a HiddenSearch module which has a required search param, inside here you paste the search you want to run.&lt;/P&gt;

&lt;P&gt;You ask how to search a csv? Well.. is it a lookup or indexed? if its indexed then you search it like you would any other indexed data, if its a lookup then you can use the &lt;CODE&gt;|inputlookup&lt;/CODE&gt; command to pull it in to then search.&lt;/P&gt;

&lt;P&gt;The more detail you give the better the answer, also the more you try to learn yourself the easier you will find this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Some links;&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Tutorial/WelcometotheSplunktutorial"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Tutorial/WelcometotheSplunktutorial&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Tutorial/Aboutgettingdatain"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Tutorial/Aboutgettingdatain&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Viz/OverviewofSimplifiedXML"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/Viz/OverviewofSimplifiedXML&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/SearchReference/Inputlookup"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/SearchReference/Inputlookup&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Feb 2013 13:11:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Explain-param-name-quot-search-quot/m-p/35124#M6374</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2013-02-17T13:11:06Z</dc:date>
    </item>
  </channel>
</rss>

