# 日本語による質問・議論はこちら

**URL:** https://discuss.elastic.co/c/in-your-native-tongue/japanese/18.md?page=16

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 17

---

## [Metrics aggreregationについて](https://discuss.elastic.co/t/metrics-aggreregation/137894)

<div class="topic-metadata">

**Author:** [@m\_suga](https://discuss.elastic.co/u/m_suga)\
**Replies:** 3\
**Last updated:** [July 12, 2018, 4:27am UTC](https://discuss.elastic.co/t/metrics-aggreregation/137894 "2018-07-12T04:27:56Z")

</div>

KIBANA＋ElasticSearchでメトリックス機能でデータ検索をかけるときに 用意されているのはAVG,SUM,MAX,MIN等で 現在値を取得するCURRNTVALUEのようなものがありません。 Aggregation自体が集計機能なので、日付の期間指定して現在値を取得する場合は、どのようにして取得すればよろしいでしょうか。 例えばグラフ表示する際、ElasticのAggregationしか使用できない場合は現在値をとる…

---

## [Elasticsearch-6.3.0 mktemp: cannot make temp dir /tmp/elasticsearch: File exists](https://discuss.elastic.co/t/elasticsearch-6-3-0-mktemp-cannot-make-temp-dir-tmp-elasticsearch-file-exists/136389)

<div class="topic-metadata">

**Author:** [@sunakawa](https://discuss.elastic.co/u/sunakawa)\
**Replies:** 2\
**Last updated:** [June 19, 2018, 10:48pm UTC](https://discuss.elastic.co/t/elasticsearch-6-3-0-mktemp-cannot-make-temp-dir-tmp-elasticsearch-file-exists/136389 "2018-06-19T22:48:23Z")

</div>

elasticsearch-6.3.0をインストールし実行したのですが以下の エラーで実行することができませんでした。 bin/elasticsearch mktemp: cannot make temp dir /tmp/elasticsearch: File exists 実行環境は CentOS release 5.8 (Final) tarファイルを展開して実行しました

---

## [Kibanaを動かすときのブラウザの前提条件](https://discuss.elastic.co/t/kibana/135862)

<div class="topic-metadata">

**Author:** [@tsukahara](https://discuss.elastic.co/u/tsukahara)\
**Replies:** 2\
**Last updated:** [June 19, 2018, 12:41am UTC](https://discuss.elastic.co/t/kibana/135862 "2018-06-19T00:41:54Z")

</div>

Kibanaを動かすときのブラウザの前提条件（しておくべき設定）を知りたいのですが、 情報ありますでしょうか。 InternetExplorerで Kibanaを表示するときに 「ツール」「インターネットオプション」「詳細設定」タブ 「DOM ストレージを有効にする」のチェックがないと Kibanaが立ち上がりませんでした（Loading Kibanaのまま画面が変わりません）。 同様に、Javascriptが無効化されてい…

---

## [Parent-child relationshipが含まれるindexをreindex apiで複製しようとするとエラーになる件](https://discuss.elastic.co/t/parent-child-relationship-index-reindex-api/136242)

<div class="topic-metadata">

**Author:** [@yn2018](https://discuss.elastic.co/u/yn2018)\
**Replies:** 1\
**Last updated:** [June 18, 2018, 8:08am UTC](https://discuss.elastic.co/t/parent-child-relationship-index-reindex-api/136242 "2018-06-18T08:08:19Z")

</div>

my\_indexの中にparent-child relationshipで親子関係を持ったtype my\_parentとtype my\_childがあり、このindexをreindex apiで複製しようとするとエラーになります。 $ curl -XPOST localhost:9200/\_reindex?pretty -d '{ "source": { "index": "my\_index" }, "dest": { "in…

---

## [Query\_stringのスコアの計算をコントロールしたい](https://discuss.elastic.co/t/query-string/133728)

<div class="topic-metadata">

**Author:** [@yn2018](https://discuss.elastic.co/u/yn2018)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 6:07am UTC](https://discuss.elastic.co/t/query-string/133728 "2018-06-18T06:07:03Z")

</div>

全文検索のために以下のようなquery\_stringを使ったクエリがあるとします。 このとき、内部的には検索ワード「渋谷区」と指定したフィールドとの類似度から\_scoreが計算されると思いますが、この\_scoreの計算を無効にしたり、\_scoreを0にしたりすることは可能でしょうか？ 具体的にやりたいこととしては例えば、 addressフィールドに検索ワード「渋谷区」が入っていたらスコアを1与える 得られた結果には\_scoreが…

---

## [TD-Agent と Elasticsearch を使用した Windows ログ収集](https://discuss.elastic.co/t/td-agent-elasticsearch-windows/135861)

<div class="topic-metadata">

**Author:** [@birdland](https://discuss.elastic.co/u/birdland)\
**Replies:** 2\
**Last updated:** [June 15, 2018, 7:39am UTC](https://discuss.elastic.co/t/td-agent-elasticsearch-windows/135861 "2018-06-15T07:39:30Z")

</div>

お世話になっております。 Windows クライアントからイベントログ（application,system,security）を収集し、TD-Agent サーバの Elasticsearch へ書き込み、Kibana で確認したいと考えています。 環境は以下の通りです。 Windows クライアント OS：Windows Server 2012 SE 収集AP：Fluentd 1.0.2（コード変換にrecord\_modif…

---

## [Indexの設定変更反映タイミングについて](https://discuss.elastic.co/t/index/135494)

<div class="topic-metadata">

**Author:** [@yuji\_kumada](https://discuss.elastic.co/u/yuji_kumada)\
**Replies:** 1\
**Last updated:** [June 14, 2018, 8:18am UTC](https://discuss.elastic.co/t/index/135494 "2018-06-14T08:18:51Z")

</div>

Elasticserach ver1.4.1を使用しています。 Indexの設定変更について refresh\_intervalの設定を変更したいと思っています。 動作が変わる（設定反映される） のはどのタイミングになるでしょうか コマンド実行完了後即時反映でしょうか。 設定反映にクラスタの再起動が必要でしょうか。 ・実行コマンド curl -XPUT 'http://localhost:9200/index名/\_sett…

---

## [ElasticSearchからPostgreのDBアクセス](https://discuss.elastic.co/t/elasticsearch-postgre-db/135079)

<div class="topic-metadata">

**Author:** [@m\_suga](https://discuss.elastic.co/u/m_suga)\
**Replies:** 2\
**Last updated:** [June 8, 2018, 8:10am UTC](https://discuss.elastic.co/t/elasticsearch-postgre-db/135079 "2018-06-08T08:10:41Z")

</div>

掲題の件ですが、 ElasticSearchからPostgreのDBへのアクセスは技術的に可能でしょうか。 ZOMBODBというPostgreのDBからElsticSearchのDBへのアクセスはできると思いますが、ElasticSearch機能からPosgreDBに接続してデータを取得できるかを確認したいです。 お手数ですが ご存知の方がいればご回答の程 何卒よろしくお願いいたします。

---

## [類義語検索行うための辞書データの作り方](https://discuss.elastic.co/t/topic/132063)

<div class="topic-metadata">

**Author:** [@Tarou\_Tanaka](https://discuss.elastic.co/u/Tarou_Tanaka)\
**Replies:** 4\
**Last updated:** [June 8, 2018, 5:02am UTC](https://discuss.elastic.co/t/topic/132063 "2018-06-08T05:02:50Z")

</div>

現在、ElasticSearch＋Webシステムでプログラムを書いているのですが、類義語検索をどのように実装すれば良いかわかりません。 自分の調べた範囲では、synonymと辞書データを使うことで実現できそうです。 ただ適切な辞書データの作り方がわかりません。 WikipediaのデータからElasticsearch用類義語辞書をつくる こちらのサイトをみて、辞書データを作ってみたのですが、思うようなデータではありませんでした。 …

---

## [日本語版のWordNetを連携させる方法](https://discuss.elastic.co/t/wordnet/133403)

<div class="topic-metadata">

**Author:** [@Tarou\_Tanaka](https://discuss.elastic.co/u/Tarou_Tanaka)\
**Replies:** 2\
**Last updated:** [June 8, 2018, 5:01am UTC](https://discuss.elastic.co/t/wordnet/133403 "2018-06-08T05:01:32Z")

</div>

私は今、elasticsearchとWebアプリケーションを使って、日本語の全文検索システムを作っています。 そこで入力された単語の類義語も文章から検索できるようにしたいと思いました。 そこでWordnetをElasticSearchと連携させて、類義語検索を実装するのが良い方法だと考えました。 しかしこの連携をさせる良い方法が思いつきません。 私が調べた限りだと ElasticSearch with WordNet このリ…

---

## [ES6.2.3 synonym filter error](https://discuss.elastic.co/t/es6-2-3-synonym-filter-error/132804)

<div class="topic-metadata">

**Author:** [@mkokui](https://discuss.elastic.co/u/mkokui)\
**Replies:** 2\
**Last updated:** [May 29, 2018, 6:22pm UTC](https://discuss.elastic.co/t/es6-2-3-synonym-filter-error/132804 "2018-05-29T18:22:20Z")

</div>

synonymの定義を外部ファイルから読み込ませてIndexを作成しようとしているのですが、エラーが生じます。 原因特定の為、以下のようなシンプルな定義を作成してIndexの作成を実行したのですが、エラーが再現しました。何が原因でエラーが発生するのか、回避方法をどうすればよいのかがわかりません。 何かご存知でしたら教えて頂けないでしょうか。 ■定義ファイル { "settings": { "index": { …

---

## [Nested datatypeの要素から値の存在判定をしたい](https://discuss.elastic.co/t/nested-datatype/132252)

<div class="topic-metadata">

**Author:** [@Skane](https://discuss.elastic.co/u/Skane)\
**Replies:** 5\
**Last updated:** [May 18, 2018, 4:19am UTC](https://discuss.elastic.co/t/nested-datatype/132252 "2018-05-18T04:19:47Z")

</div>

初めまして、Nested datatypeの要素から条件に合致したドキュメントを引っ張ってくるクエリ方法で困ったことがございます。 下記のようにnestedを利用したmappingを登録したとします。 "mappings": { "topics" : { "properties" : { "item\_id" : { "type" : "keyword" }, "publish" : { "type" : "neste…

---

## [Kibanaのダッシュボードで横断検索は可能でしょうか？](https://discuss.elastic.co/t/kibana/131651)

<div class="topic-metadata">

**Author:** [@111142](https://discuss.elastic.co/u/111142)\
**Replies:** 2\
**Last updated:** [May 15, 2018, 2:28am UTC](https://discuss.elastic.co/t/kibana/131651 "2018-05-15T02:28:55Z")

</div>

ELKをver.6系にし、Multiple Pipelinesが使えるようになったため、 何種類かのログを取り込んでおります。 各ログで複数のダッシュボードを作り運用をしているのですが、 調査をする際に特定のワードで横断検索をしたいことがあります。 各ログのVisualizeを一つのダッシュボードに集約し、特定のワードで それぞれのVisualizeを横断検索することは可能でしょうか? 具体的には、dhcp、Windowsイ…

---

## [Vegaのdataにindex.max\_result\_window以上を渡したい](https://discuss.elastic.co/t/vega-data-index-max-result-window/127720)

<div class="topic-metadata">

**Author:** [@yopya](https://discuss.elastic.co/u/yopya)\
**Replies:** 1\
**Last updated:** [April 12, 2018, 4:48am UTC](https://discuss.elastic.co/t/vega-data-index-max-result-window/127720 "2018-04-12T04:48:58Z")

</div>

お世話になります。 Vegaによる描画の際に10000件を超えるデータを渡すことは可能でしょうか。 一括でデータを渡す必要があると思いますので、Scroll や Search After での実現は難しいと考えております。 （そもそもどう書けばいいのか分からない。。。） 現在は以下のようなクエリでとりあえず指定期間内の直近10000件を描画している状況です。 data: { url: { index: …

---

## [ダッシュボード上の複数のVisualization間の連携](https://discuss.elastic.co/t/visualization/127305)

<div class="topic-metadata">

**Author:** [@chie](https://discuss.elastic.co/u/chie)\
**Replies:** 2\
**Last updated:** [April 12, 2018, 2:30am UTC](https://discuss.elastic.co/t/visualization/127305 "2018-04-12T02:30:11Z")

</div>

複数のグラフをダッシュボードに表示し、 一方のグラフの要素Aをクリックすると、もう一方のグラフの内容が要素Aで絞り込まれた内容で更新されるような動作を期待しています。 ダッシュボードのフィルタリング機能を使えないかと考察しているのですが、実現可能か、またどのような操作（実装で）グラフ間のイベントを発生、受信できるのか、以下教えて頂きたいです。 フィルタリング機能を用いる場合、グラフの要素をクリックした契機でフィルタリングにテキ…

---

## [インデックスされているコンテンツデータから単語を抽出したい。](https://discuss.elastic.co/t/topic/126885)

<div class="topic-metadata">

**Author:** [@fuyukun](https://discuss.elastic.co/u/fuyukun)\
**Replies:** 7\
**Last updated:** [April 11, 2018, 8:08am UTC](https://discuss.elastic.co/t/topic/126885 "2018-04-11T08:08:41Z")

</div>

当方で運用している日報システムの検索性を高めるために日報データ(RDBストア)を、elasticsearchに流し込みインデックスを作成いたしました。 (初めて全文検索エンジンを利用しまして、elasticsearchを使い始めて2週間程度です。) ここで非常に初心者的質問で申し訳ないのですが。 この日報データを検索する際のキーワードサジェスト機能(「前方一致」)を作成したいと思っています。 Suggestインデックスを作成し、…

---

## [（ES6.2.3 on AWS EC2）AZごとのShard Allocation Awareness について](https://discuss.elastic.co/t/es6-2-3-on-aws-ec2-az-shard-allocation-awareness/126841)

<div class="topic-metadata">

**Author:** [@mkokui](https://discuss.elastic.co/u/mkokui)\
**Replies:** 4\
**Last updated:** [April 11, 2018, 1:30am UTC](https://discuss.elastic.co/t/es6-2-3-on-aws-ec2-az-shard-allocation-awareness/126841 "2018-04-11T01:30:20Z")

</div>

■環境 Elasticsearch 6.23 － Plugin に「discovery-ec2 6.2.3」をインストール済 OS: Amazon Linux AMI 2017.09.1 (HVM), SSD Volume Type - ami-a77c30c1 ■やりたいこと １つのAZ内に配置されているElasticsearchのノードだけで完全なインデックス（シャード）を保持し、受け付けた検索要求は同じAZ内で検索を完結…

---

## [Snapshotのファイル名について](https://discuss.elastic.co/t/snapshot/123823)

<div class="topic-metadata">

**Author:** [@mikeda](https://discuss.elastic.co/u/mikeda)\
**Replies:** 2\
**Last updated:** [March 25, 2018, 11:34pm UTC](https://discuss.elastic.co/t/snapshot/123823 "2018-03-25T23:34:37Z")

</div>

snapshotを作成すると、ファイル名が、 snap-"uuid".dat meta-"uuid".dat になってしまいます。 ファイル名は、デフォルトでsnapshot名になると思っていたのですが、uuidになるのが仕様なのでしょうか? snapshot作成時に指定したsnapshot名にするためには、どのような設定が必要なのでしょうか? よろしくお願いします。

---

## [Refreshとforce mergeについて](https://discuss.elastic.co/t/refresh-force-merge/123693)

<div class="topic-metadata">

**Author:** [@thagie1i2321](https://discuss.elastic.co/u/thagie1i2321)\
**Replies:** 1\
**Last updated:** [March 23, 2018, 8:34am UTC](https://discuss.elastic.co/t/refresh-force-merge/123693 "2018-03-23T08:34:31Z")

</div>

これらを明示的に実行するとbulkで投入したデータをほぼリアルタイムで検索できるようになる感じでしょうか？

---

## [Analyzeされたワードの一部を取得することはできますか？](https://discuss.elastic.co/t/analyze/121980)

<div class="topic-metadata">

**Author:** [@mkokui](https://discuss.elastic.co/u/mkokui)\
**Replies:** 3\
**Last updated:** [March 12, 2018, 5:17am UTC](https://discuss.elastic.co/t/analyze/121980 "2018-03-12T05:17:42Z")

</div>

使用しているのは、Elasticsearch6.2です。 次のようなデータから名詞単語のSuggest機能を作れないか検討しています。 例えば、「役割」というインプット文字列を渡すと、「役割等級」「役割等級制度」というような単語が返ってくるような動きを期待しています。 Elasticsearchの知見がまだまだ浅いため、理解できていないところが多いのですが、 データをPutしたときに下例ですと「質問」に「SampleData」の…

---

## [Postgresqlデータベースのサイズを取得](https://discuss.elastic.co/t/postgresql/122822)

<div class="topic-metadata">

**Author:** [@takeno](https://discuss.elastic.co/u/takeno)\
**Replies:** 5\
**Last updated:** [March 9, 2018, 2:29am UTC](https://discuss.elastic.co/t/postgresql/122822 "2018-03-09T02:29:52Z")

</div>

はじめまして。 最近、elasticsearchを利用し始めているのですが、postgresqlのデータベース容量を簡単に取得することができないかご存知の方はいらっしゃいませんか？ 取得はbeat(6.x)を考えており、metricbeatのpostgresqlモジュールやfilebeatのpostgresqlモジュールのマニュアルを見ましたがデータベース容量に相当する項目はなさそうでした。execbeatなどで自力で取得するしかな…

---

## [\_idやfieldに使える文字の制限](https://discuss.elastic.co/t/id-field/121789)

<div class="topic-metadata">

**Author:** [@tsukahara](https://discuss.elastic.co/u/tsukahara)\
**Replies:** 2\
**Last updated:** [February 28, 2018, 8:11am UTC](https://discuss.elastic.co/t/id-field/121789 "2018-02-28T08:11:56Z")

</div>

Elasticsearch6.2.2を使わせていただいております。 \_idやfieldに使える文字の制限についてどこかに情報ありますでしょうか。 ●\_id 試したところ、登録に使った文字が置き換わって登録されるケースがありました。 以下のデータを登録したところ、 PUT ttt/default/あいう { "あいう":"あいう" } GET ttt/\_search をすると以下が得られました。 { "\_in…

---

## [Snapshotの格納場所について](https://discuss.elastic.co/t/snapshot/121164)

<div class="topic-metadata">

**Author:** [@mikeda](https://discuss.elastic.co/u/mikeda)\
**Replies:** 2\
**Last updated:** [February 23, 2018, 6:10am UTC](https://discuss.elastic.co/t/snapshot/121164 "2018-02-23T06:10:43Z")

</div>

AWSでelasticsearchを使用しているのですが、 ESのsnapshotをS3に置きたいと思っています。 pythonのelasticsearchモジュールを用いて、 S3のバケット直下にsnapshotを置くことは成功しているのですが、 S3のバケットのあるディレクトリを指定して、ディレクトリの直下にsnapshotを置くことができません。 どのようにすれば、ディレクトリ指定ができるのでしょうか? elastic…

---

## [Elastic 6.2.1 アップグレードkuromoji\_synのエラー出ます。](https://discuss.elastic.co/t/elastic-6-2-1-kuromoji-syn/120584)

<div class="topic-metadata">

**Author:** [@gabriel\_tessier](https://discuss.elastic.co/u/gabriel_tessier)\
**Replies:** 0\
**Last updated:** [February 20, 2018, 9:37am UTC](https://discuss.elastic.co/t/elastic-6-2-1-kuromoji-syn/120584 "2018-02-20T09:37:12Z")

</div>

Hi, 私の日本語はとても下手だから英語で聞きます。 I upgrade my elasticsearch server from 5.6.1 to 6.2.1 and have the following error when I run this: PUT template/something\_template { "index\_patterns" : "something\*", "order" : 1, "sett…

---

## [検索した結果を元にさらに検索する方法](https://discuss.elastic.co/t/topic/119064)

<div class="topic-metadata">

**Author:** [@t2grare](https://discuss.elastic.co/u/t2grare)\
**Replies:** 1\
**Last updated:** [February 9, 2018, 4:31am UTC](https://discuss.elastic.co/t/topic/119064 "2018-02-09T04:31:43Z")

</div>

下記のようなことをどうしたらできるかわからなく、どなたかご教示いだだけないでしょうか field a, @timestamp 2018/02/04 17:10:05 field b, @timestamp 2018/02/04 17:10:30 field a, @timestamp 2018/02/04 17:11:05 field a, @timestamp 2018/02/04 17:12:34 field a, @ti…

---

## [Elasticsearchの動作推奨スペックについて](https://discuss.elastic.co/t/elasticsearch/115220)

<div class="topic-metadata">

**Author:** [@joho](https://discuss.elastic.co/u/joho)\
**Replies:** 2\
**Last updated:** [February 5, 2018, 1:15am UTC](https://discuss.elastic.co/t/elasticsearch/115220 "2018-02-05T01:15:12Z")

</div>

Elasticsearch、Logstash、Kibanaを同一のサーバに導入するにあたり、 推奨されるスペックはあるのでしょうか？ 取り込むログ量により変動するとは思いますが、 どの程度のログが適切か不明ですが、 1億件程度のwebアクセスログを取り込みたいと考えております。 インデックスは、1日単位で分けようと考えております。 ver6.1.1を動作させるサーバの CPUや、メモリや、ディスク容量や、IOPSで どの…

---

## [Scroll APIでpost filterを利用すると上手く結果が取得できない](https://discuss.elastic.co/t/scroll-api-post-filter/116654)

<div class="topic-metadata">

**Author:** [@Nao\_Mk2](https://discuss.elastic.co/u/Nao_Mk2)\
**Replies:** 7\
**Last updated:** [February 2, 2018, 1:15am UTC](https://discuss.elastic.co/t/scroll-api-post-filter/116654 "2018-02-02T01:15:11Z")

</div>

こんにちは。 Elasticsearchのバージョン : 6.1.1 数万件のドキュメントがあるインデックスからScroll APIを利用して1,2万件程度のドキュメントを取得しようとしているのですが、絞り込みに以下のようなpost\_filterを利用しています。 POST test\_index/\_search?scroll=1m { "size": 2000, "post\_filter": { "bool": {…

---

## [Explicit mappingに存在しないプロパティは動的に追加されますか？](https://discuss.elastic.co/t/explicit-mapping/116424)

<div class="topic-metadata">

**Author:** [@smogami](https://discuss.elastic.co/u/smogami)\
**Replies:** 1\
**Last updated:** [January 22, 2018, 4:58am UTC](https://discuss.elastic.co/t/explicit-mapping/116424 "2018-01-22T04:58:38Z")

</div>

使用中のElasticsearchバージョン: v5.5 Index templateで作成した expliciti mapping があり、多数のドキュメントを格納しています。 アプリケーション側での必要性から、既存ドキュメントに新しいプロパティを追加してインデックスしたところ、そのプロパティがmappingに追加されないようでした。 そこで質問なのですが、 Explicit mappingに存在しないプロパティは動的に追加…

---

## [FunctionScoreQueryでfailedする](https://discuss.elastic.co/t/functionscorequery-failed/115827)

<div class="topic-metadata">

**Author:** [@shin-hayata](https://discuss.elastic.co/u/shin-hayata)\
**Replies:** 0\
**Last updated:** [January 17, 2018, 5:25am UTC](https://discuss.elastic.co/t/functionscorequery-failed/115827 "2018-01-17T05:25:27Z")

</div>

（勘違いしてしまった内容でしたので、文を削除しました）

---

## [トライアルライセンスの有効期限の確認方法について](https://discuss.elastic.co/t/topic/114633)

<div class="topic-metadata">

**Author:** [@pinpikokun](https://discuss.elastic.co/u/pinpikokun)\
**Replies:** 5\
**Last updated:** [January 11, 2018, 8:49am UTC](https://discuss.elastic.co/t/topic/114633 "2018-01-11T08:49:51Z")

</div>

質問内容 ベーシックライセンスに変更後にトライアル期間の残り期間を知りたいです。 環境と試したこと 現在ローカル環境をベーシックライセンスで利用しています。 Elasticsearch社の方にメールでライセンスについて質問したところ、ベーシックライセンスになるとセキュリティ機能が使用できなくなるのでSSLアクセス制御も機能しなくなりますという回答が来ました。 ただ、ローカル環境ではSSL接続（elasticsearch、kiban…

[Previous page](https://discuss.elastic.co/c/in-your-native-tongue/japanese/18.md?page=15)

[Next page](https://discuss.elastic.co/c/in-your-native-tongue/japanese/18.md?page=17)
