<?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: remove source in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/remove-source/m-p/486199#M83227</link>
    <description>&lt;P&gt;As @sduff said, the easiest/best way is to use the &lt;CODE&gt;source&lt;/CODE&gt; field, but you can also use the &lt;CODE&gt;_time&lt;/CODE&gt; field (with &lt;CODE&gt;earliest= latest=&lt;/CODE&gt;) and the &lt;CODE&gt;_indextime&lt;/CODE&gt; field (with &lt;CODE&gt;_index_earliest= _index_latest=&lt;/CODE&gt;).&lt;/P&gt;</description>
    <pubDate>Sun, 17 Nov 2019 22:18:00 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2019-11-17T22:18:00Z</dc:date>
    <item>
      <title>remove source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/remove-source/m-p/486197#M83225</link>
      <description>&lt;P&gt;I added a CSV file (sample1.csv) through "Upload files from my computer" (My host is DESKTOP-7FST5G).  I did different search queries with it.&lt;BR /&gt;
After some time I added second CSV file (sample2.csv) &lt;BR /&gt;
If I do search now (eg index="main" ) it queries sample1.csv and sample2.csv at the same time. But I want only work with sample2.csv.&lt;BR /&gt;
I tried to find a solution, but I found only one way:&lt;BR /&gt;
&lt;STRONG&gt;host=DESKTOP-7FST5G | delete&lt;/STRONG&gt; &lt;BR /&gt;
But this query removes both sample1.csv and sample2.csv.&lt;BR /&gt;
Can I specify for removal only sample1.csv?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Nov 2019 17:59:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/remove-source/m-p/486197#M83225</guid>
      <dc:creator>illuminato8</dc:creator>
      <dc:date>2019-11-17T17:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: remove source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/remove-source/m-p/486198#M83226</link>
      <description>&lt;P&gt;You can use the &lt;CODE&gt;source&lt;/CODE&gt; field to be able to distinguish between the 2 sets of data.&lt;/P&gt;

&lt;P&gt;If you do &lt;CODE&gt;host=DESKTOP-7FST5G source="*sample1.csv"&lt;/CODE&gt;, check that this returns only your first sample's data. If that true, then you can delete just sample1's data with &lt;CODE&gt;host=DESKTOP-7FST5G source="*sample1.csv" | delete&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Nov 2019 19:44:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/remove-source/m-p/486198#M83226</guid>
      <dc:creator>sduff_splunk</dc:creator>
      <dc:date>2019-11-17T19:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: remove source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/remove-source/m-p/486199#M83227</link>
      <description>&lt;P&gt;As @sduff said, the easiest/best way is to use the &lt;CODE&gt;source&lt;/CODE&gt; field, but you can also use the &lt;CODE&gt;_time&lt;/CODE&gt; field (with &lt;CODE&gt;earliest= latest=&lt;/CODE&gt;) and the &lt;CODE&gt;_indextime&lt;/CODE&gt; field (with &lt;CODE&gt;_index_earliest= _index_latest=&lt;/CODE&gt;).&lt;/P&gt;</description>
      <pubDate>Sun, 17 Nov 2019 22:18:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/remove-source/m-p/486199#M83227</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-11-17T22:18:00Z</dc:date>
    </item>
  </channel>
</rss>

