This is the log entry in my server where elasticsearch is hosted.

[2017-12-17T02:30:45,725][WARN ][o.e.d.r.RestController   ] Content type
detection for rest requests is deprecated. Specify the content type using
the [Content-Type] header.

So, I found about it and it says that elasticsearch does not auto-detect
content type. So, your client must pass the content-type header in the
request.

And I think rsyslog does not passes this header.

I am sending logs every minute to elasticsearch. So, every minute a request
is made, a log entry is created. This is resulting in very large log files.

Is my understanding correct?

If yes, then how could it be solved? If no, what else could be the matter?



--
Sent from: http://rsyslog-users.1305293.n2.nabble.com/
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to