creation_date in index setteing

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

creation_date in index setteing

tao hiko
I query setting information of index and found that have creation_date field but I cannot understand what is value. Can you explain me more?

      "settings": {
         "index": {
            "creation_date": "1425631497164",
            "uuid": "A9ZXMK7zTjSyB_oWpvf7fg",
            "analysis": {
               "analyzer": {
                  "sensible_analyzer": {
                     "type": "custom",
                     "filter": [
                        "word_filter",
                        "lowercase"
                     ],
                     "tokenizer": "keyword"
                  }
               },
               "filter": {
                  "word_filter": {
                     "split_on_numerics": "false",
                     "type": "word_delimiter",
                     "preserve_original": "true",
                     "split_on_case_change": "false",
                     "generate_number_parts": "false",
                     "generate_word_parts": "false"
                  }
               }
            },
            "number_of_replicas": "1",
            "number_of_shards": "6",
            "version": {
               "created": "1040399"
            }
         }
      }

Thank you,
Hiko

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4c784554-9a52-423a-8acc-386423a1b197%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: creation_date in index setteing

Mark Walkom-2
It's when the index was created, it's unix epoch time.

On 20 April 2015 at 14:06, tao hiko <[hidden email]> wrote:
I query setting information of index and found that have creation_date field but I cannot understand what is value. Can you explain me more?

      "settings": {
         "index": {
            "creation_date": "1425631497164",
            "uuid": "A9ZXMK7zTjSyB_oWpvf7fg",
            "analysis": {
               "analyzer": {
                  "sensible_analyzer": {
                     "type": "custom",
                     "filter": [
                        "word_filter",
                        "lowercase"
                     ],
                     "tokenizer": "keyword"
                  }
               },
               "filter": {
                  "word_filter": {
                     "split_on_numerics": "false",
                     "type": "word_delimiter",
                     "preserve_original": "true",
                     "split_on_case_change": "false",
                     "generate_number_parts": "false",
                     "generate_word_parts": "false"
                  }
               }
            },
            "number_of_replicas": "1",
            "number_of_shards": "6",
            "version": {
               "created": "1040399"
            }
         }
      }

Thank you,
Hiko

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4c784554-9a52-423a-8acc-386423a1b197%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-W3Z0HM-d0fERfksghJEXYvU3vn_zDXm--uvVsrQhf-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: creation_date in index setteing

tao hiko
I tried to use this website (http://www.onlineconversion.com/unix_time.htm) to convert but the result isn't correct.

  "creation_date": "1425631497164"   ==> Wed, 19 Jun 47146 13:12:44 GMT <=== It's wrong!!

Can you recommend which converter or how to?

On Monday, April 20, 2015 at 12:11:25 PM UTC+7, Mark Walkom wrote:
It's when the index was created, it's unix epoch time.

On 20 April 2015 at 14:06, tao hiko <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="UV9hv3zMsuEJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">tao...@...> wrote:
I query setting information of index and found that have creation_date field but I cannot understand what is value. Can you explain me more?

      "settings": {
         "index": {
            "creation_date": "1425631497164",
            "uuid": "A9ZXMK7zTjSyB_oWpvf7fg",
            "analysis": {
               "analyzer": {
                  "sensible_analyzer": {
                     "type": "custom",
                     "filter": [
                        "word_filter",
                        "lowercase"
                     ],
                     "tokenizer": "keyword"
                  }
               },
               "filter": {
                  "word_filter": {
                     "split_on_numerics": "false",
                     "type": "word_delimiter",
                     "preserve_original": "true",
                     "split_on_case_change": "false",
                     "generate_number_parts": "false",
                     "generate_word_parts": "false"
                  }
               }
            },
            "number_of_replicas": "1",
            "number_of_shards": "6",
            "version": {
               "created": "1040399"
            }
         }
      }

Thank you,
Hiko

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="UV9hv3zMsuEJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">elasticsearc...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/elasticsearch/4c784554-9a52-423a-8acc-386423a1b197%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/elasticsearch/4c784554-9a52-423a-8acc-386423a1b197%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;" onclick="this.href='https://groups.google.com/d/msgid/elasticsearch/4c784554-9a52-423a-8acc-386423a1b197%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;">https://groups.google.com/d/msgid/elasticsearch/4c784554-9a52-423a-8acc-386423a1b197%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d71fe951-d6db-4144-9941-b1ef0b1fe1f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: creation_date in index setteing

cdahlqvist
In reply to this post by tao hiko
The creation date is given with millisecond precision. Take away the last 3 digits and you converter gives Fri, 06 Mar 2015 08:44:57 GMT for 1425631497.

Christian



On Monday, April 20, 2015 at 5:06:40 AM UTC+1, tao hiko wrote:
I query setting information of index and found that have creation_date field but I cannot understand what is value. Can you explain me more?

      "settings": {
         "index": {
            "creation_date": "1425631497164",
            "uuid": "A9ZXMK7zTjSyB_oWpvf7fg",
            "analysis": {
               "analyzer": {
                  "sensible_analyzer": {
                     "type": "custom",
                     "filter": [
                        "word_filter",
                        "lowercase"
                     ],
                     "tokenizer": "keyword"
                  }
               },
               "filter": {
                  "word_filter": {
                     "split_on_numerics": "false",
                     "type": "word_delimiter",
                     "preserve_original": "true",
                     "split_on_case_change": "false",
                     "generate_number_parts": "false",
                     "generate_word_parts": "false"
                  }
               }
            },
            "number_of_replicas": "1",
            "number_of_shards": "6",
            "version": {
               "created": "1040399"
            }
         }
      }

Thank you,
Hiko

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4d4f9dea-57e9-4403-988a-6b3012af6a65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: creation_date in index setteing

tao hiko
Thank you very much Christian.

On Monday, April 20, 2015 at 2:29:29 PM UTC+7, [hidden email] wrote:
The creation date is given with millisecond precision. Take away the last 3 digits and you converter gives Fri, 06 Mar 2015 08:44:57 GMT for 1425631497.

Christian



On Monday, April 20, 2015 at 5:06:40 AM UTC+1, tao hiko wrote:
I query setting information of index and found that have creation_date field but I cannot understand what is value. Can you explain me more?

      "settings": {
         "index": {
            "creation_date": "1425631497164",
            "uuid": "A9ZXMK7zTjSyB_oWpvf7fg",
            "analysis": {
               "analyzer": {
                  "sensible_analyzer": {
                     "type": "custom",
                     "filter": [
                        "word_filter",
                        "lowercase"
                     ],
                     "tokenizer": "keyword"
                  }
               },
               "filter": {
                  "word_filter": {
                     "split_on_numerics": "false",
                     "type": "word_delimiter",
                     "preserve_original": "true",
                     "split_on_case_change": "false",
                     "generate_number_parts": "false",
                     "generate_word_parts": "false"
                  }
               }
            },
            "number_of_replicas": "1",
            "number_of_shards": "6",
            "version": {
               "created": "1040399"
            }
         }
      }

Thank you,
Hiko

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5d9e671b-ef21-45f7-999c-8d5dd979e47e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: creation_date in index setteing

Prashant Agrawal
Hi All,

I also require the indexing time to be returned by ES, but when i am firing the query like curl -XGET 'http://192.168.0.179:9200/16-04-2015-index/_settings'

I am not able to get the index_creation time and getting the response as : {"16-04-2015-index":{"settings":{"index":{"uuid":"rHmX564PSnuI8cye4GxA1g","number_of_replicas":"0","number_of_shards":"5","version":{"created":"1030099"}}}}}

Please let me know how i can get the index creation time for the same.

~Prashant
Reply | Threaded
Open this post in threaded view
|

Re: creation_date in index setteing

Colin Goodheart-Smithe-2
Prashant,

What version of Elasticsearch are you using? 

The index creation date added to the index settings API in version 1.4.0 and will only show for indices created with that version or later (see https://github.com/elastic/elasticsearch/pull/7218).

Colin


On Monday, April 20, 2015 at 2:23:37 PM UTC+1, Prashy wrote:
Hi All,

I also require the indexing time to be returned by ES, but when i am firing
the query like curl -XGET
'<a href="http://192.168.0.179:9200/16-04-2015-index/_settings" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2F192.168.0.179%3A9200%2F16-04-2015-index%2F_settings\46sa\75D\46sntz\0751\46usg\75AFQjCNFc9za3EfTh2KMLpEv3Zd6SLxpoYw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2F192.168.0.179%3A9200%2F16-04-2015-index%2F_settings\46sa\75D\46sntz\0751\46usg\75AFQjCNFc9za3EfTh2KMLpEv3Zd6SLxpoYw';return true;">http://192.168.0.179:9200/16-04-2015-index/_settings'

I am not able to get the index_creation time and getting the response as :
{"16-04-2015-index":{"settings":{"index":{"uuid":"rHmX564PSnuI8cye4GxA1g","number_of_replicas":"0","number_of_shards":"5","version":{"created":"1030099"}}}}}

Please let me know how i can get the index creation time for the same.

~Prashant



--
View this message in context: <a href="http://elasticsearch-users.115913.n3.nabble.com/creation-date-in-index-setteing-tp4073837p4073853.html" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Felasticsearch-users.115913.n3.nabble.com%2Fcreation-date-in-index-setteing-tp4073837p4073853.html\46sa\75D\46sntz\0751\46usg\75AFQjCNHHOI73zG2-BxkPf7wBxGUzmYqbtQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Felasticsearch-users.115913.n3.nabble.com%2Fcreation-date-in-index-setteing-tp4073837p4073853.html\46sa\75D\46sntz\0751\46usg\75AFQjCNHHOI73zG2-BxkPf7wBxGUzmYqbtQ';return true;">http://elasticsearch-users.115913.n3.nabble.com/creation-date-in-index-setteing-tp4073837p4073853.html
Sent from the Elasticsearch Users mailing list archive at Nabble.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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b12a4019-c5ab-4e0f-aaec-0d3ab083da4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: creation_date in index setteing

Prashant Agrawal

We are using version 1.3.0

On Apr 20, 2015 7:38 PM, "Colin Goodheart-Smithe-2 [via Elasticsearch Users]" <[hidden email]> wrote:
Prashant,

What version of Elasticsearch are you using? 

The index creation date added to the index settings API in version 1.4.0 and will only show for indices created with that version or later (see https://github.com/elastic/elasticsearch/pull/7218).

Colin


On Monday, April 20, 2015 at 2:23:37 PM UTC+1, Prashy wrote:
Hi All,

I also require the indexing time to be returned by ES, but when i am firing
the query like curl -XGET
'<a href="http://192.168.0.179:9200/16-04-2015-index/_settings" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2F192.168.0.179%3A9200%2F16-04-2015-index%2F_settings\46sa\75D\46sntz\0751\46usg\75AFQjCNFc9za3EfTh2KMLpEv3Zd6SLxpoYw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2F192.168.0.179%3A9200%2F16-04-2015-index%2F_settings\46sa\75D\46sntz\0751\46usg\75AFQjCNFc9za3EfTh2KMLpEv3Zd6SLxpoYw';return true;">http://192.168.0.179:9200/16-04-2015-index/_settings'

I am not able to get the index_creation time and getting the response as :
{"16-04-2015-index":{"settings":{"index":{"uuid":"rHmX564PSnuI8cye4GxA1g","number_of_replicas":"0","number_of_shards":"5","version":{"created":"1030099"}}}}}

Please let me know how i can get the index creation time for the same.

~Prashant



--
View this message in context: <a href="http://elasticsearch-users.115913.n3.nabble.com/creation-date-in-index-setteing-tp4073837p4073853.html" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Felasticsearch-users.115913.n3.nabble.com%2Fcreation-date-in-index-setteing-tp4073837p4073853.html\46sa\75D\46sntz\0751\46usg\75AFQjCNHHOI73zG2-BxkPf7wBxGUzmYqbtQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Felasticsearch-users.115913.n3.nabble.com%2Fcreation-date-in-index-setteing-tp4073837p4073853.html\46sa\75D\46sntz\0751\46usg\75AFQjCNHHOI73zG2-BxkPf7wBxGUzmYqbtQ';return true;">http://elasticsearch-users.115913.n3.nabble.com/creation-date-in-index-setteing-tp4073837p4073853.html
Sent from the Elasticsearch Users mailing list archive at Nabble.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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b12a4019-c5ab-4e0f-aaec-0d3ab083da4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



If you reply to this email, your message will be added to the discussion below:
http://elasticsearch-users.115913.n3.nabble.com/creation-date-in-index-setteing-tp4073837p4073856.html
To unsubscribe from creation_date in index setteing, click here.
NAML