Archive
Highlighted

App icons not showing in Splunk cloud

Explorer

Hello,

I've created an app with custom icons in the correct format described by Splunk doc.
I've packed and verified the app with the tools provided by Splunk and everything seems ok. Finally I've tried installing the app in my local Splunk I use for dev and the icons are correctly displayed.

I uploaded the application to Splunk cloud as private app, the application was accepted and correctly installed (All its dashboards and contents are available), however icons are missing.

I've noticed that in Splunk enterprise I needed to restart before seeing the icons, however this is not a possibility in cloud.

Also as additional info when I check network call:
I get a 403 not enough permission to get this resource if I'm not admin.
I get 200 but 1x1 image if I'm admin.

Image url is /splunkd/_raw/servicesNS/user/TestApplication/static/appLogo2x.png
(Where user is the correct one)

Has anyone faced this issue before?
Is there a way to "restart" Splunk cloud?

0 Karma
Highlighted

Re: App icons not showing in Splunk cloud

Communicator

Hello,

As far as I know deleting an Index will trigger a restart. Maybe you can try that.

Kind regards,
Willem

0 Karma
Highlighted

Re: App icons not showing in Splunk cloud

Explorer

Hello,

Thanks for the answer, I've tried this, but icon is still not showing :(.

I forgot to mentioned, for a previous app I had the same issue, until from one day to another the icon on this one started showing up.

0 Karma
Highlighted

Re: App icons not showing in Splunk cloud

Esteemed Legend

Generally, the first time the app is installed, the app will show; it is when the app or icon is upgraded after the first install. Also, due to silly legacy problems, most people put the icons in .../<yourapp>/static/ and .../<yourapp>/appserver/static/.

0 Karma
Highlighted

Re: App icons not showing in Splunk cloud

Explorer

Hello,

When I look at the doc it says icons go in ...//static/ , if this is not so where should I put them?

Also I've made an update of my app already, but the icon is still missing...
Just a reminder, I'm using Splunk cloud, so I have no control on internal file structure.

0 Karma
Highlighted

Re: App icons not showing in Splunk cloud

Esteemed Legend

Just try it.

0 Karma
Highlighted

Re: App icons not showing in Splunk cloud

Explorer

I'm sorry, but your answer is not very clear to me and I don't understand what to try.

I've put the icon in /static as said by the doc (http://dev.splunk.com/view/webframework-developapps/SP-CAAAE86). This works in enterprise and it's also placed there in all the applications I got from splunk base. I don't think this is due to legacy...

I've also made an update of the app (several by now) and the icons are missing.

0 Karma
Highlighted

Re: App icons not showing in Splunk cloud

Esteemed Legend

How can it not be clear? Create another directory called appserver. Inside of that create another directory called static. Inside of that directory place copies of your images there as well as the original directory.

0 Karma
Highlighted

Re: App icons not showing in Splunk cloud

Explorer

There is not need to be rude.

I'm sorry but the way is written is not clear at all:
"Generally, the first time the app is installed, the app will show; it is when the app or icon is upgraded after the first install." --> Meaning the first time the application is install the application becomes available but not the images that becomes available after an update???

"Also, due to silly legacy problems, most people put the icons in ...//static/ and ...//appserver/static/." --> I understand it as due to legacy issue people put the icons in those two directories but they are both wrong, there is an "and" in the phrase.

I guess you meant "Also, due to silly legacy problems, most people put the icons in ...//static/ INSTEAD ...//appserver/static/."

But in any case, now that I understand what you meant, thanks for the answer I'll try tihs.

0 Karma
Highlighted

Re: App icons not showing in Splunk cloud

Esteemed Legend

I wrote "and" and feel that it was perfectly clear. If you believe otherwise then saying it is not very clear makes it nearly impossible for me to additionally clarify because I, obviously, feel that I was perfectly clear. If you say something like do you mean literally *and* or do you mean *instead of* would have been far more productive. In any case, you get the gist of it. Your restatements of what I said is another great way to highlight where the confusion is. Usually on the first install the icon appears and that icon may be fairly sticky and hard to update if you change it later. However, if on first install the icon does not appear, which is pretty common, I am not sure what makes it appear but it always does eventually.

0 Karma