[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Gremlin Query Basic Tutorials

Gremlin Query Language – Create Vertex/Node and Edge/Relationship Check If Vertex/Edge Exist – Gremlin Query – Titan Update Properties of Multiple Edges – Gremlin Query – Titan Update Properties of Multiple Vertices – Gremlin Query – Titan Create Vertex If Does Not Exist – Gremlin Query – Titan Query/Access Root Level Properties and Nested Properties… Read More »

Read more
Alternative text

Query Elasticsearch Cluster in Filter Section when using Logstash

     This article details about on how to query Elasticsearch from Logstash when processing logs or when using any other inputs. input { file { } #Any other inputs } filter { grok { pattern => "%{NUMBER:attribute1} %{GREEDYDATA:attribute2}" } elasticsearch { hosts => ["HOSTNAME:9200/index_name/type_name"] query => 'field_name.sub_field:%{attribute1}' fields => ["attribute3_elasticsearch", "attribute3_new","attribute4_elasticsearch", "attribute4_new"] #We can… Read More »

Read more
Alternative text

Java – Break Filter Chain and Return Custom POJO Response from Servlet Filter

Sample Servlet Filter : package com.application.test.security; import com.application.test.response.ErrorResponse; import com.fasterxml.jackson.databind.ObjectMapper; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; public class TestFilter implements Filter { @Override public void init(FilterConfig filterConfig) throws ServletException { } @Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException,ServletException { if(ANY CONDITION){ //ANY POJO CLASS ErrorResponse errorResponse = new ErrorResponse();… Read More »

Read more
Alternative text

Displair – An Interactive, Screenless and Virtual Display

           The world we live in has become virtual. We are able to feel the technology. In the movies Iron Man, Star Wars we can see a lot technologies particularly interactive displays where the images and videos will be projected in air. They were first just a computer graphics. But its… Read More »

Read more
Alternative text

Linked List in C- Delete Node at Head in Linked List

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C- Delete Node at Head in Linked List : Source Code : #include<stdio.h> struct node *head=NULL; //Declared as global variable since it is accessed by multiple functions struct node { //Structure named node to… Read More »

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]