# How to specify the index to send the logs of specific microservice

**URL:** <https://discuss.elastic.co/t/how-to-specify-the-index-to-send-the-logs-of-specific-microservice/290038>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 24, 2021, 10:03am UTC](https://discuss.elastic.co/t/how-to-specify-the-index-to-send-the-logs-of-specific-microservice/290038 "2021-11-24T10:03:48Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Edoardo\_Tenani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/edoardo_tenani/32/94302_2.png) [@Edoardo\_Tenani](https://discuss.elastic.co/u/Edoardo_Tenani)\
**Post date:** [December 17, 2021, 4:12pm UTC](https://discuss.elastic.co/t/how-to-specify-the-index-to-send-the-logs-of-specific-microservice/290038/5 "2021-12-17T16:12:30Z")

</div>

Hello @David_Oceans , sorry for the delay on this, it slipped through my notifications.

We had a discussion about this internally, and there should be a way to tackle this.

First I suggest you to have a look at this other discussion, as it seems related: [Send k8s logs with Filebeat to separate indices - #2 by jbury](https://discuss.elastic.co/t/send-k8s-logs-with-filebeat-to-separate-indices/250632/2)

Otherwise this is possible using logstash, between filebeat and Elasticsearch.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-specify-the-index-to-send-the-logs-of-specific-microservice/290038)._
