<?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 How do you upload a CSV using button click? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-upload-a-CSV-using-button-click/m-p/419354#M120579</link>
    <description>&lt;P&gt;Hi All, &lt;/P&gt;

&lt;P&gt;I want to upload a CSV file into a particular lookup folder related to that app only using javascript or XML code anything.&lt;/P&gt;

&lt;P&gt;What i want is for when I click on &lt;STRONG&gt;button&lt;/STRONG&gt; , it will &lt;STRONG&gt;browse&lt;/STRONG&gt; to my local storage, and than i would have to  &lt;STRONG&gt;&lt;EM&gt;upload one csv file&lt;/EM&gt;&lt;/STRONG&gt; that is directly saved to that lookup folder related to that app like &lt;CODE&gt;..................../en-US/manager/appname/data/lookup-table-files&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;NOTE:-&lt;/STRONG&gt;&lt;BR /&gt;
1. If that same name lookup is already available there ,it should delete and replace with my new file, otherwise we would get a &lt;STRONG&gt;name exits error&lt;/STRONG&gt;&lt;BR /&gt;
2. I am using server that lookups are stored in server like winscp/s3 browser, so I am unable to redirect it to that path.&lt;BR /&gt;
3. I want to do this whole process using with code only without touching or running any code or command.&lt;BR /&gt;
4. If possible, I'd also like it to do a debug refresh and _bump also via in this code .&lt;/P&gt;

&lt;P&gt;I tried which one suggested by @niketnilay also &lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/620547/is-it-possible-to-provide-upload-option-in-dashboa.html"&gt;https://answers.splunk.com/answers/620547/is-it-possible-to-provide-upload-option-in-dashboa.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Simply:-&lt;/STRONG&gt; Dashboards--&amp;gt;click on upload button --&amp;gt;import file from pc --&amp;gt;IF exits that file &lt;STRONG&gt;delete&lt;/STRONG&gt; than replace with latest fle --&amp;gt; uploaded succesful. --&amp;gt;If possible backend run debug refresh and _bump also...&lt;/P&gt;

&lt;P&gt;thats it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Happy Splunking ..&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Thanks in advance&lt;/STRONG&gt; .....:)&lt;/P&gt;</description>
    <pubDate>Mon, 08 Oct 2018 08:16:16 GMT</pubDate>
    <dc:creator>harishalipaka</dc:creator>
    <dc:date>2018-10-08T08:16:16Z</dc:date>
    <item>
      <title>How do you upload a CSV using button click?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-upload-a-CSV-using-button-click/m-p/419354#M120579</link>
      <description>&lt;P&gt;Hi All, &lt;/P&gt;

&lt;P&gt;I want to upload a CSV file into a particular lookup folder related to that app only using javascript or XML code anything.&lt;/P&gt;

&lt;P&gt;What i want is for when I click on &lt;STRONG&gt;button&lt;/STRONG&gt; , it will &lt;STRONG&gt;browse&lt;/STRONG&gt; to my local storage, and than i would have to  &lt;STRONG&gt;&lt;EM&gt;upload one csv file&lt;/EM&gt;&lt;/STRONG&gt; that is directly saved to that lookup folder related to that app like &lt;CODE&gt;..................../en-US/manager/appname/data/lookup-table-files&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;NOTE:-&lt;/STRONG&gt;&lt;BR /&gt;
1. If that same name lookup is already available there ,it should delete and replace with my new file, otherwise we would get a &lt;STRONG&gt;name exits error&lt;/STRONG&gt;&lt;BR /&gt;
2. I am using server that lookups are stored in server like winscp/s3 browser, so I am unable to redirect it to that path.&lt;BR /&gt;
3. I want to do this whole process using with code only without touching or running any code or command.&lt;BR /&gt;
4. If possible, I'd also like it to do a debug refresh and _bump also via in this code .&lt;/P&gt;

&lt;P&gt;I tried which one suggested by @niketnilay also &lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/620547/is-it-possible-to-provide-upload-option-in-dashboa.html"&gt;https://answers.splunk.com/answers/620547/is-it-possible-to-provide-upload-option-in-dashboa.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Simply:-&lt;/STRONG&gt; Dashboards--&amp;gt;click on upload button --&amp;gt;import file from pc --&amp;gt;IF exits that file &lt;STRONG&gt;delete&lt;/STRONG&gt; than replace with latest fle --&amp;gt; uploaded succesful. --&amp;gt;If possible backend run debug refresh and _bump also...&lt;/P&gt;

&lt;P&gt;thats it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Happy Splunking ..&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Thanks in advance&lt;/STRONG&gt; .....:)&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 08:16:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-upload-a-CSV-using-button-click/m-p/419354#M120579</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2018-10-08T08:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do you upload a CSV using button click?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-upload-a-CSV-using-button-click/m-p/419355#M120580</link>
      <description>&lt;P&gt;@harishalipaka are you in need of &lt;A href="https://splunkbase.splunk.com/app/1724/"&gt;Lookup Editor&lt;/A&gt; App?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 12:48:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-upload-a-CSV-using-button-click/m-p/419355#M120580</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-10-08T12:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do you upload a CSV using button click?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-upload-a-CSV-using-button-click/m-p/419356#M120581</link>
      <description>&lt;P&gt;If the &lt;CODE&gt;Lookup File Editor&lt;/CODE&gt; app will not do it, it provides enough code for you to cannibalize to build your own thing:&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/1724/"&gt;https://splunkbase.splunk.com/app/1724/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 17:18:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-upload-a-CSV-using-button-click/m-p/419356#M120581</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-10-08T17:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do you upload a CSV using button click?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-upload-a-CSV-using-button-click/m-p/419357#M120582</link>
      <description>&lt;P&gt;hi @harishalipaka,&lt;/P&gt;

&lt;P&gt;Did the answer below solve your problem? If so, please resolve this post by approving it! &lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 18:37:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-upload-a-CSV-using-button-click/m-p/419357#M120582</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-10-19T18:37:38Z</dc:date>
    </item>
  </channel>
</rss>

