<?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: Excel Export is not working for user role in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353709#M42773</link>
    <description>&lt;P&gt;I found this role capabilities. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;list_settings&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;you must add this role capabilities.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.0/Security/Rolesandcapabilities"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.0/Security/Rolesandcapabilities&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Mar 2018 04:54:19 GMT</pubDate>
    <dc:creator>lsw6875</dc:creator>
    <dc:date>2018-03-05T04:54:19Z</dc:date>
    <item>
      <title>Excel Export is not working for user role</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353704#M42768</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I'm using splunk version 6.6.3 (build e21ee54bc796) on my Ubuntu 14.04.5 server &lt;BR /&gt;
After installing Excel export tool (ver 2.0.4) I found something weird&lt;/P&gt;

&lt;P&gt;With admin permission, all things working perfect&lt;BR /&gt;
but with user role, it gives below message after clicking 'Excel Export' button&lt;/P&gt;

&lt;P&gt;IE : "View more information about your request (request ID = 5a016640a87f8d68407590) in Search" -&amp;gt; No info found with given link&lt;BR /&gt;
FireFox : "Firefox cannot find file Firefox는 &lt;A href="http://168.219.245.248:8000/ko-KR/custom/excel_export/excel/1510041258.937?filename=dgfdfgd&amp;amp;count=10000"&gt;http://168.219.245.248:8000/ko-KR/custom/excel_export/excel/1510041258.937?filename=dgfdfgd&amp;amp;count=10000&lt;/A&gt;"&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;I also give full APP R/W permission to everyone already&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Did I miss something wrong?&lt;BR /&gt;
I really donno what makes the difference between admin &amp;amp; user role&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 08:00:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353704#M42768</guid>
      <dc:creator>ktc78</dc:creator>
      <dc:date>2017-11-07T08:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Export is not working for user role</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353705#M42769</link>
      <description>&lt;P&gt;i'm not familiar with the Excel Export app. But just try creating a new role  (say &lt;CODE&gt;myuser&lt;/CODE&gt;)&lt;BR /&gt;
-  inherit all &lt;CODE&gt;capabilities&lt;/CODE&gt; from admin into this &lt;CODE&gt;myuser&lt;/CODE&gt;&lt;BR /&gt;
- try &lt;STRONG&gt;removing&lt;/STRONG&gt; &lt;CODE&gt;capabilities&lt;/CODE&gt; which you think are not useful and restart splunk.&lt;BR /&gt;
- Try this approach until you find the correct capability which is used for this app.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.0/Security/Rolesandcapabilities"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.0/Security/Rolesandcapabilities&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;output_file&lt;/CODE&gt; and &lt;CODE&gt;export_results_is_visible&lt;/CODE&gt; capabilities are something which comes to my mind.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 09:40:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353705#M42769</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2017-11-07T09:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Export is not working for user role</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353706#M42770</link>
      <description>&lt;P&gt;thanks you so much for your valuable advice&lt;BR /&gt;
I'll try your way first&lt;BR /&gt;
Anyway it would be nice if I have another solution without changing role permission &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 01:04:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353706#M42770</guid>
      <dc:creator>ktc78</dc:creator>
      <dc:date>2017-11-08T01:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Export is not working for user role</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353707#M42771</link>
      <description>&lt;P&gt;hi&lt;BR /&gt;
I solved it.&lt;/P&gt;

&lt;P&gt;add the following:  local.meta &lt;/P&gt;

&lt;P&gt;A.   vi $SPLUNK_HOME/etc/apps/excel_export/metadata/local.meta&lt;BR /&gt;
      ===============================================&lt;BR /&gt;
       [views/flashtimeline_excel]&lt;BR /&gt;
       access = read : [ admin, power,user ], write : [ admin ] &lt;BR /&gt;
     ==============================================&lt;/P&gt;

&lt;P&gt;B. web : &lt;A href="http://168.219.245.248:8000/ko-KR/debug/refresh" target="_blank"&gt;http://168.219.245.248:8000/ko-KR/debug/refresh&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:03:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353707#M42771</guid>
      <dc:creator>spl109</dc:creator>
      <dc:date>2020-09-29T18:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Export is not working for user role</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353708#M42772</link>
      <description>&lt;P&gt;Dear spl109,&lt;BR /&gt;
Thank you so much for your solution and It seems to be working fine!&lt;/P&gt;

&lt;P&gt;Anyway I modified UTF8 type export function script &amp;amp; using well without Excel export tool now&lt;BR /&gt;
(without broken character)&lt;/P&gt;

&lt;P&gt;I modified below file&lt;BR /&gt;
.../lib/python2.7/site-packages/splunk/rest/&lt;STRONG&gt;init&lt;/STRONG&gt;.py&lt;/P&gt;

&lt;P&gt;Commented below&lt;BR /&gt;
         response = self.response&lt;BR /&gt;
         while 1:&lt;BR /&gt;
             data = response.read(blocksize)&lt;BR /&gt;
             if not data:&lt;BR /&gt;
                 break&lt;BR /&gt;
             yield data&lt;/P&gt;

&lt;P&gt;And added below&lt;BR /&gt;
         response = self.response&lt;BR /&gt;
         import codecs&lt;BR /&gt;
         counter = 0;&lt;BR /&gt;
         while 1:&lt;BR /&gt;
                 data = response.read(blocksize)&lt;BR /&gt;
                 if not data:&lt;BR /&gt;
                         break&lt;BR /&gt;
                 if counter == 0:&lt;BR /&gt;
                         data = "".join((codecs.BOM_UTF8, data))&lt;BR /&gt;
                         counter += 1&lt;BR /&gt;
                 yield data&lt;/P&gt;

&lt;P&gt;Then csv export goes well without broken charater&lt;/P&gt;

&lt;P&gt;I really appreciate your kind advice!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2018 01:34:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353708#M42772</guid>
      <dc:creator>ktc78</dc:creator>
      <dc:date>2018-02-19T01:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Export is not working for user role</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353709#M42773</link>
      <description>&lt;P&gt;I found this role capabilities. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;list_settings&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;you must add this role capabilities.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.0/Security/Rolesandcapabilities"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.0/Security/Rolesandcapabilities&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 04:54:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353709#M42773</guid>
      <dc:creator>lsw6875</dc:creator>
      <dc:date>2018-03-05T04:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Export is not working for user role</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353710#M42774</link>
      <description>&lt;P&gt;Adding &lt;STRONG&gt;list_settings&lt;/STRONG&gt; to the role is the correct solution for Excel export tool.&lt;BR /&gt;
Works for me as well&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 13:06:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Excel-Export-is-not-working-for-user-role/m-p/353710#M42774</guid>
      <dc:creator>ehudb</dc:creator>
      <dc:date>2019-10-18T13:06:13Z</dc:date>
    </item>
  </channel>
</rss>

