Re: Add remote ip address in solr log

2018-03-29 Thread Rick Leir
Vince Something as simple as an Apache proxypass would help, then your Apache log would tell you. Cheers -- Rick -- Sorry for being brief. Alternate email is rickleir at yahoo dot com

Re: Add remote ip address in solr log

2018-03-28 Thread Vincenzo D'Amore
Thanks Shawn, actually I have my log flooded by an old http client which generate a "bad HTTP parsed: 400 HTTP/0.9 not supported", very likely is a nagios monitor or a old load balancer firmware. Anyway, I've found the ip address of the caller using the old (but still very useful) command netstat

Re: Add remote ip address in solr log

2018-03-28 Thread Shawn Heisey
On 3/28/2018 9:47 AM, Vincenzo D'Amore wrote: I'm struggling to add http remote ip address in solr (jetty) log file. I've tried to modify the server/resources/log4j.properties file, which seems to control the output log format, but I'm unable to understand how to add in ConversionPattern the pro

Add remote ip address in solr log

2018-03-28 Thread Vincenzo D'Amore
Hi, I'm struggling to add http remote ip address in solr (jetty) log file. I've tried to modify the server/resources/log4j.properties file, which seems to control the output log format, but I'm unable to understand how to add in ConversionPattern the proper ip address field. log4j.appender.file.