# Shipping logs to a remote server

**URL:** <https://discuss.elastic.co/t/shipping-logs-to-a-remote-server/44864>\
**Category:** Logstash\
**Created:** [March 18, 2016, 8:15pm UTC](https://discuss.elastic.co/t/shipping-logs-to-a-remote-server/44864 "2016-03-18T20:15:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bishaka](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@bishaka](https://discuss.elastic.co/u/bishaka)\
**Post date:** [March 18, 2016, 8:15pm UTC](https://discuss.elastic.co/t/shipping-logs-to-a-remote-server/44864/1 "2016-03-18T20:15:02Z")

</div>

How can I ship logs to another remote server and display on kibana dashboard?

I tried to install logstash on the server i want to ship logs from and sent to the server I want to receive the logs on though redis queue...but I do not get any response...not even an error message..

I think the redis approach is not going to work out..Is the anything else I can use that will work to send logs from server 2 to server 1?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 19, 2016, 2:51am UTC](https://discuss.elastic.co/t/shipping-logs-to-a-remote-server/44864/2 "2016-03-19T02:51:25Z")

</div>

Can you provide your configs please.

---

<div class="post-metadata">

**Author:** ![bishaka](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@bishaka](https://discuss.elastic.co/u/bishaka)\
**Post date:** [March 21, 2016, 4:51pm UTC](https://discuss.elastic.co/t/shipping-logs-to-a-remote-server/44864/3 "2016-03-21T16:51:01Z")

</div>

I have a total of 29 logs..but it is only shipping 15 of them. I am not sure why it's happening. Below is the logstash-shipper file I have created.

input {  
file {  
path =\> ["/path/to/logs/sample.log"]  
type =\> "syslog"  
start\_position =\> "beginning"  
sincedb\_path =\> "/dev/null"  
ignore\_older =\> 0  
}  
}

output {  
stdout { codec =\> rubydebug }  
redis { host =\> "10...\*" data\_type =\> "list" key =\> "rediskey" }  
}

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 21, 2016, 7:07pm UTC](https://discuss.elastic.co/t/shipping-logs-to-a-remote-server/44864/4 "2016-03-21T19:07:26Z")

</div>

Are there messages in your redis list?  
Do you have another input from redis and then an output into ES?

---

<div class="post-metadata">

**Author:** ![bishaka](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@bishaka](https://discuss.elastic.co/u/bishaka)\
**Post date:** [March 21, 2016, 7:46pm UTC](https://discuss.elastic.co/t/shipping-logs-to-a-remote-server/44864/5 "2016-03-21T19:46:29Z")

</div>

I have another logstash index file setup on my server 2 which has input from redis and then output to ES

I am shipping 29 logs to redis queue but it is only recieving 15 messages.

---

<div class="post-metadata">

**Author:** ![bishaka](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@bishaka](https://discuss.elastic.co/u/bishaka)\
**Post date:** [March 22, 2016, 5:23pm UTC](https://discuss.elastic.co/t/shipping-logs-to-a-remote-server/44864/6 "2016-03-22T17:23:37Z")

</div>

Can someone help me?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 22, 2016, 10:21pm UTC](https://discuss.elastic.co/t/shipping-logs-to-a-remote-server/44864/7 "2016-03-22T22:21:13Z")

</div>

Do you have other filters? There could be something stopping these messages?

---

<div class="post-metadata">

**Author:** ![bishaka](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@bishaka](https://discuss.elastic.co/u/bishaka)\
**Post date:** [March 23, 2016, 1:23am UTC](https://discuss.elastic.co/t/shipping-logs-to-a-remote-server/44864/8 "2016-03-23T01:23:28Z")

</div>

Problem resolved after restarting

---

<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 6, 2017, 5:05am UTC](https://discuss.elastic.co/t/shipping-logs-to-a-remote-server/44864/9 "2017-07-06T05:05:48Z")

</div>


