I'm new to the group, hope ill find what i need and share my experience as
i go along..
im using ES with the attachment-plugin in order to store and search files.
when i set the mapping right and insert the file data in a Base64 manner
I'm able to query my data via Kibana.
my problem is this.
if i create the index + mapping in ES, then insert the data to Couchbase
and use XDRC to replicate it to ES, i can't query the Data with Kibana.
it looks like the mapping of the index created in ES doesn't index well the
data it gets from Couchbase.
The XDCR plugin indexes the data using an envelope document. Long story
short, make sure you use the latest XDCR plugin as older ones are missing
lots of important functions, and use templates and dynamic templates with
proper field paths for this to work correctly
On Thu, Feb 12, 2015 at 3:59 PM, Nadav Hashimshony nadavh@gmail.com wrote:
Hi,
I'm new to the group, hope ill find what i need and share my experience as
i go along..
im using ES with the attachment-plugin in order to store and search files.
when i set the mapping right and insert the file data in a Base64 manner
I'm able to query my data via Kibana.
my problem is this.
if i create the index + mapping in ES, then insert the data to Couchbase
and use XDRC to replicate it to ES, i can't query the Data with Kibana.
it looks like the mapping of the index created in ES doesn't index well
the data it gets from Couchbase.
i am using mapping, i created the following index
PUT /storage/files/_mapping
{
"files": {
"properties": {
"file": {
"type": "attachment",
"path": "full",
"fields": {
"content_type": {
"type": "string",
"store": true
}
}
}
}
}
}
when i insert data via ES and query it, all is fine.
the problem is when data is inserted to Couchbase..
Nadav
On Thursday, February 12, 2015 at 4:03:01 PM UTC+2, Itamar Syn-Hershko
wrote:
The XDCR plugin indexes the data using an envelope document. Long story
short, make sure you use the latest XDCR plugin as older ones are missing
lots of important functions, and use templates and dynamic templates with
proper field paths for this to work correctly
On Thu, Feb 12, 2015 at 3:59 PM, Nadav Hashimshony <nad...@gmail.com
<javascript:>> wrote:
Hi,
I'm new to the group, hope ill find what i need and share my experience
as i go along..
im using ES with the attachment-plugin in order to store and search files.
when i set the mapping right and insert the file data in a Base64 manner
I'm able to query my data via Kibana.
my problem is this.
if i create the index + mapping in ES, then insert the data to Couchbase
and use XDRC to replicate it to ES, i can't query the Data with Kibana.
it looks like the mapping of the index created in ES doesn't index well
the data it gets from Couchbase.
Like I said, you need the mapping to "catch" before the XDCR plugin begins
the replication - so you need to put a template with this mapping that will
override XDCR's
On Thu, Feb 12, 2015 at 4:59 PM, Nadav Hashimshony nadavh@gmail.com wrote:
Thanks you for the response
i am using mapping, i created the following index
PUT /storage/files/_mapping
{
"files": {
"properties": {
"file": {
"type": "attachment",
"path": "full",
"fields": {
"content_type": {
"type": "string",
"store": true
}
}
}
}
}
}
when i insert data via ES and query it, all is fine.
the problem is when data is inserted to Couchbase..
Nadav
On Thursday, February 12, 2015 at 4:03:01 PM UTC+2, Itamar Syn-Hershko
wrote:
The XDCR plugin indexes the data using an envelope document. Long story
short, make sure you use the latest XDCR plugin as older ones are missing
lots of important functions, and use templates and dynamic templates with
proper field paths for this to work correctly
On Thu, Feb 12, 2015 at 3:59 PM, Nadav Hashimshony nad...@gmail.com
wrote:
Hi,
I'm new to the group, hope ill find what i need and share my experience
as i go along..
im using ES with the attachment-plugin in order to store and search
files.
when i set the mapping right and insert the file data in a Base64 manner
I'm able to query my data via Kibana.
my problem is this.
if i create the index + mapping in ES, then insert the data to Couchbase
and use XDRC to replicate it to ES, i can't query the Data with Kibana.
it looks like the mapping of the index created in ES doesn't index well
the data it gets from Couchbase.
define the XDCR to replicate my bucket with the index in ES.
insert data to couchbase.
try to query with kibana
What you suggest is to Add another BEFORE step 1:
0. create a template to include my mapping.
crate the index in ES
and so on...
did i get it right?
Thanks.
Nadav.
On Thursday, February 12, 2015 at 5:04:24 PM UTC+2, Itamar Syn-Hershko
wrote:
Like I said, you need the mapping to "catch" before the XDCR plugin begins
the replication - so you need to put a template with this mapping that will
override XDCR's
On Thu, Feb 12, 2015 at 4:59 PM, Nadav Hashimshony <nad...@gmail.com
<javascript:>> wrote:
Thanks you for the response
i am using mapping, i created the following index
PUT /storage/files/_mapping
{
"files": {
"properties": {
"file": {
"type": "attachment",
"path": "full",
"fields": {
"content_type": {
"type": "string",
"store": true
}
}
}
}
}
}
when i insert data via ES and query it, all is fine.
the problem is when data is inserted to Couchbase..
Nadav
On Thursday, February 12, 2015 at 4:03:01 PM UTC+2, Itamar Syn-Hershko
wrote:
The XDCR plugin indexes the data using an envelope document. Long story
short, make sure you use the latest XDCR plugin as older ones are missing
lots of important functions, and use templates and dynamic templates with
proper field paths for this to work correctly
On Thu, Feb 12, 2015 at 3:59 PM, Nadav Hashimshony nad...@gmail.com
wrote:
Hi,
I'm new to the group, hope ill find what i need and share my experience
as i go along..
im using ES with the attachment-plugin in order to store and search
files.
when i set the mapping right and insert the file data in a Base64
manner I'm able to query my data via Kibana.
my problem is this.
if i create the index + mapping in ES, then insert the data to
Couchbase and use XDRC to replicate it to ES, i can't query the Data with
Kibana.
it looks like the mapping of the index created in ES doesn't index well
the data it gets from Couchbase.
On Thu, Feb 12, 2015 at 5:12 PM, Nadav Hashimshony nadavh@gmail.com wrote:
ok, just to be clear.
the steps i did was as followed:
create the index with the mapping.
define the XDCR to replicate my bucket with the index in ES.
insert data to couchbase.
try to query with kibana
What you suggest is to Add another BEFORE step 1:
0. create a template to include my mapping.
crate the index in ES
and so on...
did i get it right?
Thanks.
Nadav.
On Thursday, February 12, 2015 at 5:04:24 PM UTC+2, Itamar Syn-Hershko
wrote:
Like I said, you need the mapping to "catch" before the XDCR plugin
begins the replication - so you need to put a template with this mapping
that will override XDCR's
On Thu, Feb 12, 2015 at 4:59 PM, Nadav Hashimshony nad...@gmail.com
wrote:
Thanks you for the response
i am using mapping, i created the following index
PUT /storage/files/_mapping
{
"files": {
"properties": {
"file": {
"type": "attachment",
"path": "full",
"fields": {
"content_type": {
"type": "string",
"store": true
}
}
}
}
}
}
when i insert data via ES and query it, all is fine.
the problem is when data is inserted to Couchbase..
Nadav
On Thursday, February 12, 2015 at 4:03:01 PM UTC+2, Itamar Syn-Hershko
wrote:
The XDCR plugin indexes the data using an envelope document. Long story
short, make sure you use the latest XDCR plugin as older ones are missing
lots of important functions, and use templates and dynamic templates with
proper field paths for this to work correctly
On Thu, Feb 12, 2015 at 3:59 PM, Nadav Hashimshony nad...@gmail.com
wrote:
Hi,
I'm new to the group, hope ill find what i need and share my
experience as i go along..
im using ES with the attachment-plugin in order to store and search
files.
when i set the mapping right and insert the file data in a Base64
manner I'm able to query my data via Kibana.
my problem is this.
if i create the index + mapping in ES, then insert the data to
Couchbase and use XDRC to replicate it to ES, i can't query the Data with
Kibana.
it looks like the mapping of the index created in ES doesn't index
well the data it gets from Couchbase.
On Thu, Feb 12, 2015 at 5:12 PM, Nadav Hashimshony <nad...@gmail.com
<javascript:>> wrote:
ok, just to be clear.
the steps i did was as followed:
create the index with the mapping.
define the XDCR to replicate my bucket with the index in ES.
insert data to couchbase.
try to query with kibana
What you suggest is to Add another BEFORE step 1:
0. create a template to include my mapping.
crate the index in ES
and so on...
did i get it right?
Thanks.
Nadav.
On Thursday, February 12, 2015 at 5:04:24 PM UTC+2, Itamar Syn-Hershko
wrote:
Like I said, you need the mapping to "catch" before the XDCR plugin
begins the replication - so you need to put a template with this mapping
that will override XDCR's
On Thu, Feb 12, 2015 at 4:59 PM, Nadav Hashimshony nad...@gmail.com
wrote:
Thanks you for the response
i am using mapping, i created the following index
PUT /storage/files/_mapping
{
"files": {
"properties": {
"file": {
"type": "attachment",
"path": "full",
"fields": {
"content_type": {
"type": "string",
"store": true
}
}
}
}
}
}
when i insert data via ES and query it, all is fine.
the problem is when data is inserted to Couchbase..
Nadav
On Thursday, February 12, 2015 at 4:03:01 PM UTC+2, Itamar Syn-Hershko
wrote:
The XDCR plugin indexes the data using an envelope document. Long
story short, make sure you use the latest XDCR plugin as older ones are
missing lots of important functions, and use templates and dynamic
templates with proper field paths for this to work correctly
On Thu, Feb 12, 2015 at 3:59 PM, Nadav Hashimshony nad...@gmail.com
wrote:
Hi,
I'm new to the group, hope ill find what i need and share my
experience as i go along..
im using ES with the attachment-plugin in order to store and search
files.
when i set the mapping right and insert the file data in a Base64
manner I'm able to query my data via Kibana.
my problem is this.
if i create the index + mapping in ES, then insert the data to
Couchbase and use XDRC to replicate it to ES, i can't query the Data with
Kibana.
it looks like the mapping of the index created in ES doesn't index
well the data it gets from Couchbase.
Also if its a time based data, you will not be able to use kibana's date
filtering etc - because it lacks the @timestamp field. Basically, the XDCR
elasticsearch plugin was built around the XDCR / Couchbase realm and not
around Elasticsearch's. Unfortunately this means many ES features are
unavailable / hard to use, e.g. https://github.com/couchbaselabs/elasticsearch-transport-couchbase/issues/63
I can help fixing this on the XDCR plugin if you'd like - ping me privately
and we can work something out (or I can convince you to avoid using the
XDCR replication)
On Thu, Feb 12, 2015 at 5:12 PM, Nadav Hashimshony nad...@gmail.com
wrote:
ok, just to be clear.
the steps i did was as followed:
create the index with the mapping.
define the XDCR to replicate my bucket with the index in ES.
insert data to couchbase.
try to query with kibana
What you suggest is to Add another BEFORE step 1:
0. create a template to include my mapping.
crate the index in ES
and so on...
did i get it right?
Thanks.
Nadav.
On Thursday, February 12, 2015 at 5:04:24 PM UTC+2, Itamar Syn-Hershko
wrote:
Like I said, you need the mapping to "catch" before the XDCR plugin
begins the replication - so you need to put a template with this mapping
that will override XDCR's
On Thu, Feb 12, 2015 at 4:59 PM, Nadav Hashimshony nad...@gmail.com
wrote:
Thanks you for the response
i am using mapping, i created the following index
PUT /storage/files/_mapping
{
"files": {
"properties": {
"file": {
"type": "attachment",
"path": "full",
"fields": {
"content_type": {
"type": "string",
"store": true
}
}
}
}
}
}
when i insert data via ES and query it, all is fine.
the problem is when data is inserted to Couchbase..
Nadav
On Thursday, February 12, 2015 at 4:03:01 PM UTC+2, Itamar Syn-Hershko
wrote:
The XDCR plugin indexes the data using an envelope document. Long
story short, make sure you use the latest XDCR plugin as older ones are
missing lots of important functions, and use templates and dynamic
templates with proper field paths for this to work correctly
On Thu, Feb 12, 2015 at 3:59 PM, Nadav Hashimshony nad...@gmail.com
wrote:
Hi,
I'm new to the group, hope ill find what i need and share my
experience as i go along..
im using ES with the attachment-plugin in order to store and search
files.
when i set the mapping right and insert the file data in a Base64
manner I'm able to query my data via Kibana.
my problem is this.
if i create the index + mapping in ES, then insert the data to
Couchbase and use XDRC to replicate it to ES, i can't query the Data with
Kibana.
it looks like the mapping of the index created in ES doesn't index
well the data it gets from Couchbase.
On Thursday, February 12, 2015 at 5:24:33 PM UTC+2, Itamar Syn-Hershko
wrote:
Yes, that too
Also if its a time based data, you will not be able to use kibana's date
filtering etc - because it lacks the @timestamp field. Basically, the XDCR
elasticsearch plugin was built around the XDCR / Couchbase realm and not
around Elasticsearch's. Unfortunately this means many ES features are
unavailable / hard to use, e.g. https://github.com/couchbaselabs/elasticsearch-transport-couchbase/issues/63
I can help fixing this on the XDCR plugin if you'd like - ping me
privately and we can work something out (or I can convince you to avoid
using the XDCR replication)
On Thu, Feb 12, 2015 at 5:12 PM, Nadav Hashimshony nad...@gmail.com
wrote:
ok, just to be clear.
the steps i did was as followed:
create the index with the mapping.
define the XDCR to replicate my bucket with the index in ES.
insert data to couchbase.
try to query with kibana
What you suggest is to Add another BEFORE step 1:
0. create a template to include my mapping.
crate the index in ES
and so on...
did i get it right?
Thanks.
Nadav.
On Thursday, February 12, 2015 at 5:04:24 PM UTC+2, Itamar Syn-Hershko
wrote:
Like I said, you need the mapping to "catch" before the XDCR plugin
begins the replication - so you need to put a template with this mapping
that will override XDCR's
On Thu, Feb 12, 2015 at 4:59 PM, Nadav Hashimshony nad...@gmail.com
wrote:
Thanks you for the response
i am using mapping, i created the following index
PUT /storage/files/_mapping
{
"files": {
"properties": {
"file": {
"type": "attachment",
"path": "full",
"fields": {
"content_type": {
"type": "string",
"store": true
}
}
}
}
}
}
when i insert data via ES and query it, all is fine.
the problem is when data is inserted to Couchbase..
Nadav
On Thursday, February 12, 2015 at 4:03:01 PM UTC+2, Itamar
Syn-Hershko wrote:
The XDCR plugin indexes the data using an envelope document. Long
story short, make sure you use the latest XDCR plugin as older ones are
missing lots of important functions, and use templates and dynamic
templates with proper field paths for this to work correctly
On Thu, Feb 12, 2015 at 3:59 PM, Nadav Hashimshony <nad...@gmail.com
wrote:
Hi,
I'm new to the group, hope ill find what i need and share my
experience as i go along..
im using ES with the attachment-plugin in order to store and search
files.
when i set the mapping right and insert the file data in a Base64
manner I'm able to query my data via Kibana.
my problem is this.
if i create the index + mapping in ES, then insert the data to
Couchbase and use XDRC to replicate it to ES, i can't query the Data with
Kibana.
it looks like the mapping of the index created in ES doesn't index
well the data it gets from Couchbase.
I'm using 5.4.1 for ES & Couchbase and the XDCR transport plugin. I'm able to query my dataset but I cannot use Kibana's time filtering. During index pattern creation, I checked the checkbox for time series data and it was able to show me doc.createdAt which is the datetime field (iso8601) in my docs. However no timepicker or histogram in discover tab appears.
I couldn't really find a pointer about this issue. Should I have a field with the exact same name: @timestamp?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.