Hi,

On Thursday, July 17, 2014 10:20:55 AM UTC-4, Justin Koehler wrote:
>
> I'm working on a system to record usage data for an application that 
> submits its data to an ES cluster. I would like to record the location of 
> each data point based on IP geolocation. I found the Logstash plugin that 
> uses the GeoIP databases, but I was unable to find any solutions built for 
> just Elasticsearch. Has anybody done something like this before?
>

This is something that's typically done outside ES, in a document 
processing pipeline or indexer.

In addition, it would be convenient to extract the IP of the point itself 
> from the "X-Forwarded-For" header of the incoming data point. Is there a 
> way to access these headers when the point is received by Elasticsearch?
>

Doable with a custom Rest Action.

Otis
--
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/
 

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/aa71ee2b-9894-4568-95f7-3be0e5b0738c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to