# Local image not being uploaded to slack

**URL:** <https://community.grafana.com/t/local-image-not-being-uploaded-to-slack/17085>\
**Category:** Configuration\
**Created:** [May 8, 2019, 3:04pm UTC](https://community.grafana.com/t/local-image-not-being-uploaded-to-slack/17085 "2019-05-08T15:04:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewkew](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/andrewkew/32/6818_2.png) [@andrewkew](https://community.grafana.com/u/andrewkew)\
**Post date:** [May 8, 2019, 3:04pm UTC](https://community.grafana.com/t/local-image-not-being-uploaded-to-slack/17085/1 "2019-05-08T15:04:27Z")

</div>

Hi  
I have an alert that is sending slack notifications. In grafana.ini I have set the provider to local so that the images of the panel are generated on the local filesystem.

When an alert gets sent in the logs the panel image is being generated and stored on the server but the image is not being shown in the slack message.

Is this a configuration issue? Why would this image not be added to the slack notification?

Andrew

---

<div class="post-metadata">

**Author:** ![daniellee](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/daniellee/32/41_2.png) [@daniellee](https://community.grafana.com/u/daniellee)\
**Post date:** [May 9, 2019, 8:10pm UTC](https://community.grafana.com/t/local-image-not-being-uploaded-to-slack/17085/2 "2019-05-09T20:10:46Z")

</div>

Can you provide some more details on how you configured the slack notification?

> If you want to include screenshots of the firing alerts in the Slack messages you have to configure either the [external image destination](https://grafana.com/docs/alerting/notifications/#external-image-store) in Grafana, or a bot integration via Slack Apps.

> **[Configure notification policies | Grafana documentation](https://grafana.com/docs/grafana/latest/alerting/alerting-rules/create-notification-policy/)**
>
> Notification policies

---

<div class="post-metadata">

**Author:** ![andrewkew](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/andrewkew/32/6818_2.png) [@andrewkew](https://community.grafana.com/u/andrewkew)\
**Post date:** [May 10, 2019, 7:53am UTC](https://community.grafana.com/t/local-image-not-being-uploaded-to-slack/17085/3 "2019-05-10T07:53:01Z")

</div>

Thanks Daniel. Here is the notification channel screenshot

 ![image](https://us1.discourse-cdn.com/grafana/original/2X/f/fd5a893733f588d0846d189bc5c582c2d2cdf9c0.png)

Then the grafana.ini

> #The public facing domain name used to access grafana from a browser  
> domain = 10.2.0.19
> 
> [external\_image\_storage]  
> #Used for uploading images to public servers so they can be included in slack/email messages.  
> #you can choose between (s3, webdav, gcs, azure\_blob, local)  
> provider = local

Not sure what else I could do differently really  
Thanks for your help

---

<div class="post-metadata">

**Author:** ![oleggoncharenko](https://avatars.discourse-cdn.com/v4/letter/o/d6d6ee/32.png) [@oleggoncharenko](https://community.grafana.com/u/oleggoncharenko)\
**Post date:** [May 16, 2019, 1:17pm UTC](https://community.grafana.com/t/local-image-not-being-uploaded-to-slack/17085/4 "2019-05-16T13:17:33Z")

</div>

Hi  
I have exactly the same problem.

---

<div class="post-metadata">

**Author:** ![zealousmacwan](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/zealousmacwan/32/8973_2.png) [@zealousmacwan](https://community.grafana.com/u/zealousmacwan)\
**Post date:** [February 1, 2020, 12:23pm UTC](https://community.grafana.com/t/local-image-not-being-uploaded-to-slack/17085/5 "2020-02-01T12:23:50Z")

</div>

@daniellee @danielgonzalez @anon34853223 Slack alert Image not being uploaded, no msg related to upload in logs(without external renderer) , tried with external grafana-image-renderer as container, getting log that image uploaded to localhost…, as i have set external\_image…provider = local in ini but no image in slack, please please help how to setup slack with image attachment

---

<div class="post-metadata">

**Author:** ![gonzalofernandezorda](https://avatars.discourse-cdn.com/v4/letter/g/b19c9b/32.png) [@gonzalofernandezorda](https://community.grafana.com/u/gonzalofernandezorda)\
**Post date:** [October 20, 2020, 4:08pm UTC](https://community.grafana.com/t/local-image-not-being-uploaded-to-slack/17085/6 "2020-10-20T16:08:49Z")

</div>

Very same problem in here with slack, not images being attached and also using  
provider = local

Versions:  
grafana-server Version 7.2.1 (commit: 72a6c64532, branch: HEAD)  
grafana-image-renderer @ 2.0.0  
This is on a Linux2 Amazon

---

<div class="post-metadata">

**Author:** ![basroovers](https://avatars.discourse-cdn.com/v4/letter/b/3ec8ea/32.png) [@basroovers](https://community.grafana.com/u/basroovers)\
**Post date:** [November 4, 2020, 11:27am UTC](https://community.grafana.com/t/local-image-not-being-uploaded-to-slack/17085/7 "2020-11-04T11:27:27Z")

</div>

I fixed it by disabling the bot configuration in Grafana and installing the grafana-image-renderer.  
You could check if PNGs are being generated at all, look in your Grafana data folder.  
I’m running Grafana 7.3.1.

---

<div class="post-metadata">

**Author:** ![gonzalofernandezorda](https://avatars.discourse-cdn.com/v4/letter/g/b19c9b/32.png) [@gonzalofernandezorda](https://community.grafana.com/u/gonzalofernandezorda)\
**Post date:** [November 4, 2020, 12:24pm UTC](https://community.grafana.com/t/local-image-not-being-uploaded-to-slack/17085/8 "2020-11-04T12:24:09Z")

</div>

Hi @basroovers  
I just upgraded to Grafana 7.3.1.  
I can confirm the plugin was installed and the PNG files are there. I am using the Slack plugin and I got all the boxes for the bot empty, so I guess my configuration should be similar to yours.  
I am using using the local storage.
