<?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: how to delete uploaded csv file in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214201#M7859</link>
    <description>&lt;P&gt;in  CLI;  go to  &lt;CODE&gt;splunk_home/bin/&lt;/CODE&gt;   use &lt;CODE&gt;splunk clean&lt;/CODE&gt; command to do it&lt;BR /&gt;
you can first run  &lt;CODE&gt;splunk help clean&lt;/CODE&gt; command  to understand how &lt;CODE&gt;clean&lt;/CODE&gt; command is it work&lt;/P&gt;</description>
    <pubDate>Tue, 23 Feb 2016 12:47:10 GMT</pubDate>
    <dc:creator>fdi01</dc:creator>
    <dc:date>2016-02-23T12:47:10Z</dc:date>
    <item>
      <title>how to delete uploaded csv file</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214197#M7855</link>
      <description>&lt;P&gt;Hello Team,&lt;BR /&gt;
I added an csv file using add data, I do not know how to delete it, could some help on this.&lt;BR /&gt;
and where this normally sits .i.e the path e.g opt/splunk..&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2016 17:56:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214197#M7855</guid>
      <dc:creator>syjayaraj</dc:creator>
      <dc:date>2016-02-20T17:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete uploaded csv file</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214198#M7856</link>
      <description>&lt;P&gt;You've probably uploaded a lookup .csv file, those sit in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/your_app/lookups&lt;/CODE&gt; or &lt;CODE&gt;$SPLUNK_HOME/etc/system/lookups&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2016 20:33:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214198#M7856</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-02-20T20:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete uploaded csv file</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214199#M7857</link>
      <description>&lt;P&gt;Hi  syjayaraj,&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;remove your csv file returns to delete the data therein. In the search bar, you can use &lt;STRONG&gt;delete&lt;/STRONG&gt; operator .&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;To do this, your role must have the capability to do so. If you are an admin user, you must go add &lt;CODE&gt;can_delete&lt;/CODE&gt; role because &lt;STRONG&gt;admin&lt;/STRONG&gt; role don't have it by default.&lt;/P&gt;

&lt;P&gt;After to this, run a search that returns events of your csv file like follow:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=   (name_of_your_file.csv)  OR (Path/../ name_of_your_file.csv)|delete
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will remonve all data in your csv file&lt;/P&gt;

&lt;P&gt;For more Explanation follow the link:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Indexer/RemovedatafromSplunk#Delete_events_from_future_searches" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Indexer/RemovedatafromSplunk#Delete_events_from_future_searches&lt;/A&gt;&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;I think that to see where your csv file is located,  go to &lt;CODE&gt;opt/Splunk/var/lib/splunk/defaultdb/db/hot_v1_0/rawdata&lt;/CODE&gt; if you use default index to index your file.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Note:  &lt;STRONG&gt;hot_v1_0&lt;/STRONG&gt; is newsly created directory.&lt;/P&gt;

&lt;P&gt;follow &lt;CODE&gt;opt/Splunk/var/lib/splunk/your_index_nama/db/hot_v1_0/rawdata&lt;/CODE&gt; for for your particular index.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:53:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214199#M7857</guid>
      <dc:creator>ngatchasandra</dc:creator>
      <dc:date>2020-09-29T08:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete uploaded csv file</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214200#M7858</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;you can also just delete the index you put the data in, assumed its the only data in this index otherwise thats not a help.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Settings-&amp;gt;Indexes-&amp;gt;delete
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Feb 2016 10:54:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214200#M7858</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2016-02-23T10:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete uploaded csv file</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214201#M7859</link>
      <description>&lt;P&gt;in  CLI;  go to  &lt;CODE&gt;splunk_home/bin/&lt;/CODE&gt;   use &lt;CODE&gt;splunk clean&lt;/CODE&gt; command to do it&lt;BR /&gt;
you can first run  &lt;CODE&gt;splunk help clean&lt;/CODE&gt; command  to understand how &lt;CODE&gt;clean&lt;/CODE&gt; command is it work&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 12:47:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214201#M7859</guid>
      <dc:creator>fdi01</dc:creator>
      <dc:date>2016-02-23T12:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete uploaded csv file</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214202#M7860</link>
      <description>&lt;P&gt;Please do not remove files from the bucket if you are not familiar with Splunk internal details.&lt;/P&gt;

&lt;P&gt;If you want to delete data use the official commands (Splunk clean on the CLI) or delete the whole index.&lt;/P&gt;

&lt;P&gt;Holger&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:44:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214202#M7860</guid>
      <dc:creator>hsesterhenn_spl</dc:creator>
      <dc:date>2016-02-25T17:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete uploaded csv file</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214203#M7861</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;let's summarize your options:&lt;/P&gt;

&lt;P&gt;If you have uploaded a CSV using "Add Data" all events are &lt;EM&gt;copied&lt;/EM&gt; from the CSV into an index (this is the main index by default if you don't change it). There is no thing as "stored CSV file". This file has been removed from the system after adding the events.&lt;BR /&gt;
Using the "source=" search filter you can get all events which have been imported from this CSV.&lt;/P&gt;

&lt;P&gt;If you want to delete a whole index use "splunk clean eventdata" on the CLI as mentioned. It will free the space on disk.&lt;/P&gt;

&lt;P&gt;The "delete" command is only allowed for a special role as mentioned AND IT WILL NOT DELETE DATA FROM DISK!&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Indexer/RemovedatafromSplunk#How_to_delete"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Indexer/RemovedatafromSplunk#How_to_delete&lt;/A&gt;&lt;BR /&gt;
Please read this explanation carefully.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Delete"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Delete&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;And as mentioned by Martin if you have uploaded a file to be used as a LOOKUP you have to delete it from the server itself.&lt;/P&gt;

&lt;P&gt;HTH,&lt;BR /&gt;
Holger&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:53:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/how-to-delete-uploaded-csv-file/m-p/214203#M7861</guid>
      <dc:creator>hsesterhenn_spl</dc:creator>
      <dc:date>2016-02-25T17:53:48Z</dc:date>
    </item>
  </channel>
</rss>

