MicroPyramidBlog

Explore a blog dedicated to a wide spectrum of topics including Django, Python, Machine Learning, Salesforce, Angular, React, Flutter, Svelte, LINUX, and Amazon Web Services.

ELK Stack for Parsing your Logs

In This Tutorial we will look onto parsing your syslog files and store and display it in interactable website. We will be using ELK Stack for this purpose, before Jumping Into ELK Stack Lets see what each means

E - Elasticsearch: open source search and analytics engine, which stores data and relies on Apache Lucene for searching.
L - LogStash: Logstash is an open source data collection engine with real-time pipelining capabilities.

Server Management Read Full Post

Elastic Search Security Measures

After Installing Elastic Search in production, many new developers leave it unconfigured. In this Post, we will look into important config file changes and its implications

Server Management Read Full Post

ELK Stack for Parsing your Logs- Part 2

In Previous Tutorial we looked into Setting up EL Server which can ingest your Syslog files. In this Post, you will learn about pushing your Log Files to EL Server and How we will Display it in Kibana with Interactive Graphs.

Server Management Read Full Post

Using Flexbox with React Native

React Native is very similar to React, but one of the major difference is styling the components. For styling we use similar to CSS, is called Flexbox Layout. Mainly Flexbox purpose is to provide fixed layout on different screen sizes.

React Native Read Full Post

Daemonizing any Command with SUPERVISOR

Daemonizing a command means to make it run as a background process.

so when we have a command that we want to daemonize there are many ways to do it, most common methods are:

  1. using upstart
    2. adding it to /etc/rc.local
    3. creating a script in /etc/init.d and adding them to runlevel folders manually (i.e. incase you want to start, stop a command)
Server Management Read Full Post

Tracking Location Using React Native in Android

To track the location in react native we have ‘geolocation’. Geolocation support both ios and android. Before using the geolocation we need to request to access the user location by adding below line in android/app/src/main/AndroidManifest.xml.

React Native Read Full Post

Best Cross Platform Framework for Mobile App Development

React Native is an open-source cross platform for mobile application(Android and IOS) development, developed by Facebook. Important things to consider React Native for mobile apps: High Development speed, Low-cost and High Performance.

React Native Read Full Post

Django on GAE (Google App Engine)

Google App Engine (often referred to as GAE or simply App Engine) is a platform as a service (PaaS) cloud computing platform for developing and hosting web applications in Google-managed data centers. Applications are sandboxed and run across multiple servers.App Engine offers automatic scaling for web applications—as the number of requests increases for an application, App Engine automatically allocates more resources for the web application to handle the additional demand.

Server Management Read Full Post

Celery With Supervisor

Celery is a task queue with focus on real-time processing, while also supports task scheduling. Task queues are used as mechanisms to distribute work across multiple threads or machines. A task queues input is a unit of work called a task,dedicated worker processes and constantly moniter the queue for new work to perform. Celery communicates via messages using a broker to mediate between workers and clients.

Server Management Read Full Post

Django Hosting on Nginx with Uwsgi for High Performance

Quick guide to host django application using uwsgi and nginx which offers better resource utilization and performance .

Server Management Read Full Post