Hi,

Here are my version details:

ES 1.0.0, MongoDB 2.4.9, mongo-river 2.0.0(with the driver that is required 
for the river plugin)

I have a river with mongo which fetches events from the remote mongodb.
Now i have everything up an running but the only issue is with the "time 
format" which is still in UNIX epoch for:

1.event_time
2.timestamp
3.app_event_time

here is the mapping.

curl -XGET 
http://ESserver.com:9200/secana/messages/_mapping?pretty=true<http://esserver.com:9200/secana/messages/_mapping?pretty=true>

{
  "secana" : {
    "mappings" : {
      "messages" : {
        "properties" : {
          "app_event_time" : {
            "type" : "date",
            "format" : "YYYY-MM-dd HH:mm:ss"
          },
          "event_time" : {
            "type" : "date",
            "format" : "YYYY-MM-dd HH:mm:ss"
          },
          "firstName" : {
            "type" : "string"
          },
          "frecency" : {
            "type" : "long"
          },
          "hostname_id" : {
            "type" : "string"
          },
          "lastName" : {
            "type" : "string"
          },
          "message" : {
            "type" : "string"
          },
          "netloc" : {
            "type" : "string"
          },
          "signum_id" : {
            "type" : "string"
          },
          "source" : {
            "type" : "string"
          },
          "source2" : {
            "type" : "string"
          },
          "timestamp" : {
            "type" : "date",
            "format" : "YYYY-MM-dd HH:mm:ss"
          },
          "title" : {
            "type" : "string"
          },
          "url" : {
            "type" : "string"
          },
          "visit_count" : {
            "type" : "long"
          }
        }
      }
    }
  }
}


-----------------------------

Now i am still not able to get the correct date format as mentioned in my 
mapping.

By default it is picking up " long".

Please help me with this.

-- 
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/247da6bf-bef0-4f0f-a822-763b12d8ab09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to