Thursday, August 31, 2017

Top Java Anomaly Detection Tools

The top Java anomaly detection tools you should know
Application failures can happen due to a wide set of reasons, and there are tools that address each one of the possible sources for errors, such as log management tools, error trackers, performance monitoring solutions and so on. We’ve actually researched this quite a bit, and found the different methods of logging in production, most common ways to solve Java application errors and how application monitoring tools can assist in detecting errors.
And here comes the BUT…
The data that these tools collect is often made up of lots of noise. How can we know what’s important and what’s not? That’s where anomaly detection tools fit in. In the following post we’ll go over some of the tools that focus on detecting and predicting when anomalies might happen. Let’s check them out.

Anomaly detection tools

  1. X-Pack
  2. Loom Systems
  3. OverOps
  4. Coralogix
  5. Anodot

1. X-Pack

X-Pack is an extension to the ELK Stack that offers anomaly detection. It uses algorithms that help users understand the behavior of their logs, detecting when they’re not acting as usual. The package relies on logs as its data source, letting the users understand how specific metrics might impact the product and how users experience it.

Key features:

  • Detecting anomalies within Elasticsearch log data and metrics
  • Identifying security issues by monitoring network activity and user behavior
  • Identifying log events that usually lead to an anomaly

How it works:

X-Pack uses Elasticsearch log data and models a baseline of its behavior. By analyzing the logs from the application, servers and services, X-Pack can detect trends and periodicity of use, and analyze the data to try to predict when an issue might occur.
The anomaly detection feature is enabled by default when installing X-Pack, and it implements existing ELK cluster privileges and built-in roles to make it easier to control which users have authority to view and manage the jobs, data feeds, and results.

X-Pack anomaly detection timeline
Secret sauce: X-Pack anomaly detection is auto-enabled, aggregating data directly from Elasticsearch and is made for those who use ELK and want an anomaly detection solution as part of the Elastic suite of tools.
Bottom line: The “unfair” advantage X-Pack has is its integration with the Elastic suite of tools. With that said, if you’re using ELK, you probably already know that you’re not limited to using Elastic’s own tools, there’s a wide ecosystem to choose from. Also, if you’re not using ELK, this tool is not the one for you.

2. Loom Systems

Loom Systems offers an analytics platform for anomaly detection in logs and metrics. It detects anomalies in logs, and also provides anomaly detection within operational analytics.

Key features:

  • Automated log parsing and analysis from different applications
  • Recommended resolutions – Based on the company’s solution database
  • Business operation anomaly detection

How it works:

On the technical side, Loom collects log data, parses it to break down log lines to separate fields, and applies anomaly detection algorithms according to each fields data type. Alongside log events, Loom’s algorithms can handle other textual sources or streams of events, and create anomaly baselines for them.
The baselines and thresholds set by Loom are dynamic, which means that they change and adapt according to the user’s behavior and application updates. Each anomaly is accompanied by an explanation of what happened, along with recommended resolutions.

Loom anomaly detection and insights dashboard
Secret Sauce: Along with detecting anomalies, Loom offers its knowledge base that shares solutions across the company, helping other developers and teams understand why an anomaly occurred and how it was handled.
Bottom line: Loom uses application logs and metrics to try to understand how applications normally behave, and offers recommended resolutions and action items.

3. OverOps

OverOps tells you when, where and why code breaks in production. It is the only tool that gives you the complete source code and variable state across the entire call stack for every error, and lets you proactively detect when new errors are introduced into the application.

Key features:

  • Full visibility into code and variable state to automatically reproduce any error
  • Proactive detection of all new and critical errors by code release
  • Native Java agent that doesn’t rely on log files
  • Working with any StatsD complaint tool for custom anomaly detection visualization
  • No code and configuration changes, installs in 5 minutes through SaaS, Hybrid, and On-Premises
  • A badass dashboard with a dark theme

How it works:

OverOps is a native monitoring agent that operates between the JVM and the processor, extracting information from the application itself. It doesn’t require any code changes, and it doesn’t rely on the information that was logged, but instead on the information coming directly from the application. OverOps helps companies like Fox, Comcast and TripAdvisor transform manual reactive processes of sifting through logs, and turn them into proactive automated processes.
OverOps uses REST APIs to offer advanced visualization and anomaly detection abilities to its users, and correlates the variable state of the application with internal JVM metrics (such as CPU utilization, GC and others), when application errors occur across microservices and deployments. OverOps integrates with any StatsD compliant tool to offer custom visualization of anomalies, along with any other view you’re interested in monitoring.
OverOps also offers machine learning algorithms in Java, Python and Go via bundling Kapacitor and Yahoo EGADS. It also integrates with any anomaly detection tool, by adding a link to every error in the logs. Clicking on that link shows you a detailed view of the real root cause of the issue. The complete source code and variable state at the moment of error, across the entire call stack.
Secret sauce: OverOps knows log files suck. That’s why it has zero reliance on log files, and the data comes directly from the JVM itself. Since OverOps is the only tool to give you the complete source, state and stack for each error, it offers a 360 view of anomalies and issues within your application.
Bottom line: Detecting anomalies is important, but it’s not going to help if you don’t have the real root cause and variables that lead to it.

Events in the OverOps dashboard include the full stack trace and variable state at the time an exception occurs
Watch a live demo of OverOps.

4. Coralogix

Coralogix clusters and identifies similarities in log data. The tool focuses on common flows, detecting the log messages that are connected to them, and alerting when an action didn’t cause the expected outcome.

Key features:

  • Loggregation – Bundle and summarize logs that have the same pattern
  • Flow anomaly – Identification of connected actions, and detection of anomalies within them
  • Version based anomalies – Specifying anomalies that only occurred after a new version of the user’s product was deployed

How it works:

Coralogix operates under the assumption that most logs are similar, when the only thing that differentiates them from one another is the variables within them. That’s why Coralogix auto clusters the data to identify patterns, and connects the dots between the data. If an action calls for a certain response and doesn’t get it, that’s when an anomaly is detected.

Coralogix flow anomaly dashboard
Secret sauce: Coralogix has the ability to aggregate logs into their original templates and analyze that data to understand anomalies.
Bottom line: Coralogix bundles logs with similar patterns, focusing on the different fields within each message. By doing so, the company can detect anomalies within certain actions and flows, and focus on the biggest anomaly picture on not on single incidents that might occur in the application.

5. Anodot

Anodot offers an anomaly detection system with the relevant analytics for the users. Their focus is on detecting anomalies in databases of any type, along with identifying anomalies in business related data.

Key features:

  • Behavioral correlation and grouping of similar logs
  • Business data anomalies detection to offer anomaly detection within marketing campaigns, clicks and performance indicators
  • Alerts handling – Reducing noise by grouping similar anomalies into one alert

How it works:

Anodot uses their algorithms to isolate issues and correlate them across a number of parameters. On the practical side, the company determines the normal range of the application or the action, and gives it a score that it has to keep.
When an event changes that score, the system assesses the importance of the anomaly based on the status of the data, and how long it acted this way. Anodot always alerts the user of the anomaly, whether it’s good or bad, so that they can handle it as they see fit.

Anodot anomaly detection and analytics
Secret sauce: Anodot can auto-select the most relevant algorithm needed for the data pattern, which changes and adapts as the patterns change.
Bottom line: Anodot focuses on logs, metrics and business indicators, which can address not only the development team, but other members of the company as well.

Speaking of anomaly detection…

Numenta offers an open source project that takes a broader look at the world of anomaly detection. Its technology can detect anomalies in servers and applications, along with human behavior, geospatial tracking data (GPS tracking), and prediction and classification of natural language. Basically, any dataset that has a baseline or trends.
The most interesting thing about Numenta is the Numenta Anomaly Benchmark (NAB). It’s a benchmark that allows evaluation of algorithms for anomaly detection in streaming, real-time applications. It allows you to test your current algorithms, see benchmarks from the community and get a deeper understanding as to how to detect anomalies.
The library is open sourced, and comprised of over 50 labeled real-world and artificial time series data files plus a scoring mechanism designed for real-time applications. If you’re already using an anomaly detection algorithm, Numenta can help you evaluate it. Also, if you’re looking for an open source tool, this might be the answer for you.

Final thoughts

Anomaly detection helps gain better insights out of production applications. Each tool has its own way to identify anomalies. The most important thing we should remember is that it’s not only about the dashboard; it’s about the data. That’s why we urge you to explore each one, and base your final decision on the one tools that give you the best value according to the problem that you’re trying to solve.

Saturday, August 26, 2017

कुलदेवी साधना



कुलदेवी सदैव हमारी कुल कि रक्षा करती है,हम पर चाहे किसी भी प्रकार कि कोई भी बाधाये आने वाली हो तो सर्वप्रथम हमारी सबसे ज्यादा चिंता उन्हे ही होती है. कुलदेवी कि कृपा से कई जीवन के येसे कार्य है जिनमे पूर्ण सफलता मिलती है.

सामग्री :-
३ पानी वाले नारियल,लाल वस्त्र ,९ सुपारिया ,८ या १६ शृंगार कि वस्तुये ,खाने कि ९ पत्ते ,३ घी कि दीपक,कुंकुम ,हल्दी ,सिंदूर ,मौली ,तिन प्रकार कि मिठाई .।

साधना विधि :-
  • यह साधना शुक्ल पक्ष कि १२,१३,१४ तिथि को करनी है. ।
  • सर्वप्रथम नारियल कि कुछ जटाये निकाले और कुछ बाकि रखे ।
  • एक नारियल को पूर्ण सिंदूर से रंग दे, दूसरे को हल्दी और, तीसरे नारियल को कुंकुम से ।
  • ३ नारियल को मौली बांधे, और बाजोट पर स्थापित कीजिये ।
  • हर नारियल के सामने ३ पत्ते रखे,पत्तों पर १-१ coin रखे और coin कि ऊपर सुपारिया स्थापित कीजिये. ।
  • गुरुपूजन और गणपति पूजन संपन्न कीजिये. ।
  • पूजा स्थापित कि है उन सबकी चावल,कुंकुम,हल्दी,सिंदूर,जल ,पुष्प,धुप और दीप से पूजा कीजिये.।
  • जहा सिन्दूर वाला नारियल है वह सिर्फ सिंदूर ही चढ़े बाकि हल्दी कुंकुम नहीं इस प्रकार से पूजा करनी है,और चावल भी ३ रंगों मे ही रंगाने है,अब ३ दीपक स्थापित कर दीजिये.और कोई भी मिठाई किसी भी नारियल के पास चढादे . ।
  • लाल मूंगे कि माला से ३ दिन तक ११ मालाये मंत्र जाप रोज करनी है.। 
  • इस पूजा में चाहें तो दुर्गा अथवा काली का मंत्र जप भी कर सकते हैं ,किन्तु साथ में तब शिव मंत्र का जप भी अवश्य करें|
  • साधना समाप्ति के बाद प्रसाद परिवार मे ही बाटना है.शृंगार पूजा मे कुलदेवी कि उपस्थिति कि भावना करते हुये चढादे और माँ को स्वीकार करनेकी विनती कीजिये. । 
  • ३ दिन बाद सारी सामग्री जल मे परिवार के कल्याण कि प्रार्थना करते हुये प्रवाहित कर दे.। 
  • सामान्यतय पारंपरिक रूप से कुलदेवता /कुलदेवी की पूजा में घर की कुँवारी कन्याओं को शामिल नहीं किया जाता और उन्हें दीपक देखने तक की मनाही होती है| तो घर की कुँवारी कन्याओं इस पूजा से दूर रखें अन्यथा देवी देवता नाराज हो जाते है |
मंत्र :-

|| ओम ह्रीं श्रीं कुलेश्वरी प्रसीद -  प्रसीद ऐम् नम : ||

साधना समाप्ति के बाद सहपरिवार आरती करे तो कुलेश्वरी कि कृपा और बढती है.

~~~~ कुलदेवी - कुलदेवता के पूजन की सरल विधि : ~~~~
विशेष दिन और त्यौहार पर शुद्ध लाल कपड़े के आसान पर कुलदेवी - कुलदेवता का चित्र स्थापित करके घी या तेल का दीपक लगाकर गूगल की धुप देकर घी या तेल से हवन करकर चूरमा बाटी का भोग लगाना चाहिए,अगरबत्ती, नारियल, सतबनी मिठाई, मखाने दाने, इत्र ,हर-फूल आदि श्रद्धानुसार ।
* नवरात्री में पूजा अठवाई के साथ परम्परानुसार करनी चाहिए ।

~~~~ पितृ देवता के पूजन की सरल विधि : ~~~~
शुद्ध सफेद कपड़े के आसान पर पितृ देवता का चित्र स्थापित करके ,घी का दीपक लगाकर गूगल धुप देकर, घी से हवन करकर चावल की सेनक या चावल की खीर -पूड़ी का भोग लगाना चाहिए । अगरबत्ती , नारियल, सतबनी मिठाई, मखाने दाने,इत्र ,हर-फूल आदि श्रद्धानुसार । संक्षिप्त रूप में 'कुलदेवताभ्यो नमः' प्रभूत शब्दों को भी उच्चारण किया जाता है| यह कुलदेवता के प्रति अभिवादन है जिससे उनका आशीर्वाद प्राप्त हो पूर्व साधना में सफलता प्राप्त हो सके|

* चावल की सेनक : चावल को उबाल पका लेवे फिर उसमे घी और शक्कर मिला ले ।
* अठवाई : दो पूड़ी के साथ एक मीठा पुआ और उस पर सूजी का हलवा , इस प्रकार दो जोड़े कुल मिलाकर ४ पूड़ी ; २ मीठा पुआ और थोड़ा सूजी का हलवा ।

श्री गुरु स्तवन

गुरुर्ब्रह्मा गुरुर्विष्णुः गुरुर्देवो महेश्वरः |
गुरुर्साक्षात परब्रह्म तस्मै श्री गुरवे नमः ||

ध्यानमूलं गुरुर्मूर्ति पूजामूलं गुरोः पदम् |
मंत्रमूलं गुरोर्वाक्यं मोक्षमूलं गुरोः कृपा ||

अखंडमंडलाकारं व्याप्तं येन चराचरम् |
तत्पदं दर्शितं येन तस्मै श्री गुरवे नमः ||

ब्रह्मानंदं परम सुखदं केवलं ज्ञानमूर्तिं |
द्वन्द्वातीतं गगनसदृशं तत्त्वमस्यादिलक्षयम् ||

एकं नित्यंविमलं अचलं सर्वधीसाक्षीभूतम् |
भावातीतं त्रिगुणरहितं सदगुरुं तं नमामि ||

त्वमेव माता च पिता त्वमेव, त्वमेव बंधुश्च सखा त्वमेव |
त्वमेव विद्या द्रविणं त्वमेव, त्वमेव सर्वं मम देव देव ||

नित्य पूजा विधि

अनिवार्य पूजा विधि 

जिन्हें कुलदेवी की जानकारी नहीं है उनके लिए पूजा विधि

Friday, August 25, 2017

श्रीरामचन्द्र कृपालु



 

॥ श्रीरामचन्द्र कृपालु ॥

श्री रामचन्द्र कृपालु भजुमन हरण भवभय दारुणं ।
नव कंज लोचन कंज मुख कर कंज पद कंजारुणं ॥१॥

कन्दर्प अगणित अमित छवि नव नील नीरद सुन्दरं । ॥
पटपीत मानहुँ तडित रुचि शुचि नोमि जनक सुतावरं ॥२॥

भजु दीनबन्धु दिनेश दानव दैत्य वंश निकन्दनं ।
रघुनन्द आनन्द कन्द कोशल चन्द दशरथ नन्दनं ॥३॥

शिर मुकुट कुंडल तिलक चारु उदारु अङ्ग विभूषणं ।
आजानु भुज शर चाप धर संग्राम जित खरदूषणं ॥४॥

इति वदति तुलसीदास शंकर शेष मुनि मन रंजनं ।
मम् हृदय कंज निवास कुरु कामादि खलदल गंजनं ॥५॥
मन जाहि राच्यो मिलहि सो वर सहज सुन्दर सांवरो ।
करुणा निधान सुजान शील स्नेह जानत रावरो ॥६॥

एहि भांति गौरी असीस सुन सिय सहित हिय हरषित अली ।
तुलसी भवानिहि पूजी पुनि-पुनि मुदित मन मन्दिर चली ॥७॥

सो० - जानी गौरी अनुकूल सिय हिय हरषु न जाइ कहि ।
मंजुल मंगल मूल वाम अङ्ग फरकन लगे ॥ गोस्वामी तुलसीदासः


  Shri Rama Ashtakam 
श्री रामाष्टकम्

भजे विशेषसुन्दरं समस्तपापखण्डनम् ।
स्वभक्तचित्तरञ्जनं सदैव राममद्वयम् ॥ १ ॥

जटाकलापशोभितं समस्तपापनाशकं ।
स्वभक्तभीतिभञ्जनं भजे ह राममद्वयम् ॥ २ ॥

निजस्वरूपबोधकं कृपाकरं भवापहम् ।
समं शिवं निरञ्जनं भजे ह राममद्वयम् ॥ ३ ॥

सहप्रपञ्चकल्पितं ह्यनामरूपवास्तवम् ।
निराकृतिं निरामयं भजे ह राममद्वयम् ॥ ४ ॥

निष्प्रपञ्चनिर्विकल्पनिर्मलं निरामयम् ।
चिदेकरूपसन्ततं भजे ह राममद्वयम् ॥ ५ ॥

भवाब्धिपोतरूपकं ह्यशेषदेहकल्पितम् ।
गुणाकरं कृपाकरं भजे ह राममद्वयम् ॥ ६ ॥

महावाक्यबोधकैर्विराजमानवाक्पदैः ।
परं ब्रह्मसद्व्यापकं भजे ह राममद्वयम् ॥ ७ ॥

शिवप्रदं सुखप्रदं भवच्छिदं भ्रमापहम् ।
विराजमानदेशिकं भजे ह राममद्वयम् ॥ ८ ॥

रामाष्टकं पठति यस्सुखदं सुपुण्यं
व्यासेन भाषितमिदं शृणुते मनुष्यः
विद्यां श्रियं विपुलसौख्यमनन्तकीर्तिं
संप्राप्य देहविलये लभते च मोक्षम् ॥ ९ ॥

॥ इति श्रीव्यास विरचितं रामाष्टकं संपूर्णम् ॥