# Repository discovery and Sync on Redhat Satellite

**URL:** <https://discuss.elastic.co/t/repository-discovery-and-sync-on-redhat-satellite/188682>\
**Category:** Logstash\
**Created:** [July 3, 2019, 10:06am UTC](https://discuss.elastic.co/t/repository-discovery-and-sync-on-redhat-satellite/188682 "2019-07-03T10:06:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajaisam](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@ajaisam](https://discuss.elastic.co/u/ajaisam)\
**Post date:** [July 3, 2019, 10:06am UTC](https://discuss.elastic.co/t/repository-discovery-and-sync-on-redhat-satellite/188682/1 "2019-07-03T10:06:14Z")

</div>

Hi all,  
I am trying to get the rpms from elastic synced to my Redhat Satellite server and I keep getting url not found.  
The url is "[https://artifacts.elastic.co/packages/7.x/yum](https://artifacts.elastic.co/packages/7.x/yum)"  
Does anyone on the community have experience of getting this to work? Is there an alternate url that should be used maybe?  
Thanks in advance for the support.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [July 3, 2019, 1:17pm UTC](https://discuss.elastic.co/t/repository-discovery-and-sync-on-redhat-satellite/188682/2 "2019-07-03T13:17:02Z")

</div>

Not sure if this helps with your question at all, but in /etc/yum.repos.d/logstash.repo I have

```
[elasticsearch-7.x]
name=Elasticsearch repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md

```

and a yum update does fetch logstash updates.

---

<div class="post-metadata">

**Author:** ![ajaisam](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@ajaisam](https://discuss.elastic.co/u/ajaisam)\
**Post date:** [July 3, 2019, 2:39pm UTC](https://discuss.elastic.co/t/repository-discovery-and-sync-on-redhat-satellite/188682/3 "2019-07-03T14:39:25Z")

</div>

Hi Badger ... I've tried the base url as per above config but this does not sync the repos to satellite unfortunately.

---

<div class="post-metadata">

**Author:** ![ajaisam](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@ajaisam](https://discuss.elastic.co/u/ajaisam)\
**Post date:** [July 3, 2019, 2:54pm UTC](https://discuss.elastic.co/t/repository-discovery-and-sync-on-redhat-satellite/188682/4 "2019-07-03T14:54:18Z")

</div>

Got it sorted now ... needed the gpg key adding which is what I was missing.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 31, 2019, 2:54pm UTC](https://discuss.elastic.co/t/repository-discovery-and-sync-on-redhat-satellite/188682/5 "2019-07-31T14:54:21Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
