How to make mdc fields indexed or analyzed in logstash with elasticsearch?

I use SocketAppender to report log events to logstash which connect to elasticsearch.
I record some application context info by using MDC. I hope to filter events by MDC fields.
How to make mdc fields indexed or analyzed in logstash with elasticsearch?


Source: New Questions

Leave a Reply