2017-06-01から1ヶ月間の記事一覧
概要 elasticsearchにはaggregationという便利な機能がありますが、 paginationを提供していません。aggregateの仕組み上単純な話ではないようです。 そのあたりの詳細は(https://github.com/elastic/elasticsearch/issues/4915)をご覧ください。今回はaggre…
概要 logstashからelasticsearchにデータを送る時の最低限の設定に関するメモ バージョン情報など elasticsearch-5.x logstash-5.x 設定ファイル内容 input{ 省略 } filter{ } output{ elasticsearch{ hosts => "localhost:9200" index => "test_index" docu…
概要 elasticsearchにpdfやpptx,xlsxなどのファイルを入れる方法についてメモ。 ingest-attachment-pluginを使います。 バージョン情報など macOS Sierra 10.12.5 elasticsearch-5.4.1 手順 1.ingest-attachment-pluginをインストールする。 $ bin/elasticse…
概要 Macにlogstashをインストールします。 logstashはrpmパッケージやzipなどが提供されていますが、今回はtar.gz形式です。 バージョン情報など OS : macOS Sierra 10.12.5 logstash : logstash-5.4.1 メモリ : 4GB 手順 1. logstashのファイルを公式サイ…
このブログの概要 日々の技術メモや備忘録を書きます。 自己紹介 名前 : twitter:@shin0higuchi 職業 : データサイエンティスト 一言 : ・Elastic Stackを活用した、データ分析や、検索システムに興味があります。書きたい時にポツポツと書きます。