[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Java – Replace First Occurrence of String without Regular Expression

           The String class in Java has a method replaceFirst(String regex, String replacement) which replaces first occurrence of given regular expression with given replacement string. If you want to replace first occurrence of any given string (with Regular Expression), use the following code. Sample Code: package test; import java.util.regex.Pattern; public class test{… Read More »

Read more
Alternative text

Update Properties of Multiple Edges – Gremlin Query – Titan

Update Properties of Multiple Edges e = g.V().hasLabel('TEST_LABEL').has('property1','value1').bothE(); e.property('property3','value3').property('property4','value4'); Related Links:

Read more
Alternative text

Xi3 Compact & Portable Computer & Steam Box

         The world has gone digital now.Everyone is using a desktop or a laptop irrespective of their field of work or study. The size of the desktop and the laptop is reducing day by day without affecting the performance. The smartphones and tablets are being build in small dimension with multi-core processors,… Read More »

Read more
Alternative text

Chrome Elasticsearch Sense Not Working – Solved

Sense plugin has been marked as malware by Google and so the same has been removed from the Chrome Web Store. We have a work around to install Kibana which has Sense builtin. But If you do not want to break your head, we have an option to install Sense plugin by enabling Developer mode in Extensions.… Read More »

Read more
Alternative text

Custom Elasticsearch Index Name/Type Name based on Events in Logstash

     The article details on how to use custom Index/Type name when using Logstash for proessing logs and Elasticsearch as Output. input { file { } } filter { grok { pattern => "%{NUMBER:attribute1} %{GREEDYDATA:attribute2}" } ruby { code => ' event["custom_index_name"] = event["attribute1"] event["custom_type_name"] = event["attribute2"] ' #You can also set an field… Read More »

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]