Category Archives: Programming

ElasticTab – Elasticsearch to Excel Report

ElasticTab - Elasticsearch to Excel Report

ElasticTab – Elasticsearch to Excel Report

ElasticTab - Elasticsearch to Excel Report

GitHub Page : ElasticTab – Elasticsearch to Excel Report ( https://github.com/raghavendar-ts/ElasticTab-Elasticsearch-to-Excel-Report ) 1. Introduction There are a lot of companies(small scale to large scale companies) who use Elasticsearch to store massive amount of to data.Most of them find it hard to generate simple reports from Elasticsearch to get information out of it. So this Java application can be… Read More »

Elasticsearch and Logstash – General Guide Links

Elasticsearch and Logstash - General Guide Links

Elasticsearch and Logstash – General Guide Links

Elasticsearch and Logstash - General Guide Links

Web Application for Elasticsearch : ElasticTab – Elasticsearch to Excel Report (Web Application) Elasticsearch Plugin: Elasticsearch Plugin To Generate (Save and E-Mail) Excel Reports Elasticsearch: Execute Multiple Search Query in Elasticsearch Monitor Elasticsearch Servers with Shell Script – E-Mail Notification Execute Raw Elasticsearch Query using Transport Client – Java API Elasticsearch – Apply Nested Filter on… Read More »

Elasticsearch Java API – Get Index Type List Mapping

Elasticsearch Java API - Get Index Type List Mapping

Elasticsearch Java API – Get Index Type List Mapping

Elasticsearch Java API - Get Index Type List Mapping

The following is sample Java program to get the list of indices with corresponding type in an Elasticsearch instance. Sample Program: package com.report.test; import java.io.IOException; import java.net.Socket; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.ExecutionException; import org.elasticsearch.action.admin.cluster.state.ClusterStateResponse; import org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest; import org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse; import org.elasticsearch.client.transport.TransportClient; import org.elasticsearch.cluster.ClusterState; import org.elasticsearch.cluster.metadata.AliasMetaData; import org.elasticsearch.cluster.metadata.IndexMetaData; import… Read More »

Elasticsearch Java API – Get Field List for a given Index and Type

Elasticsearch Java API - Get Field List for a given Index and Type

Elasticsearch Java API – Get Field List for a given Index and Type

Elasticsearch Java API - Get Field List for a given Index and Type

The following is sample Java program to get the list of fields for a given index and type name in an Elasticsearch instance. Sample Program: package com.report.test; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import org.elasticsearch.client.Client; import org.elasticsearch.client.transport.TransportClient; import org.elasticsearch.cluster.ClusterState; import org.elasticsearch.cluster.metadata.IndexMetaData; import org.elasticsearch.cluster.metadata.MappingMetaData; import org.elasticsearch.common.settings.ImmutableSettings; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.transport.InetSocketTransportAddress; public class SampleProgram{ public… Read More »

Elasticsearch Java API – Get Type List from given Index

Elasticsearch Java API - Get Type List from given Index

Elasticsearch Java API – Get Type List from given Index

Elasticsearch Java API - Get Type List from given Index

The following is sample Java program to get the list of type for a given index name in an Elasticsearch instance. Sample Program: package com.report.test; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutionException; import org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest; import org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse; import org.elasticsearch.client.Client; import org.elasticsearch.client.transport.TransportClient; import org.elasticsearch.cluster.metadata.MappingMetaData; import org.elasticsearch.common.collect.ImmutableOpenMap; import org.elasticsearch.common.hppc.cursors.ObjectObjectCursor; import org.elasticsearch.common.settings.ImmutableSettings; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.transport.InetSocketTransportAddress; public class SampleProgram{ public static… Read More »