All Projects → consulthys → node-red-contrib-logstash

consulthys / node-red-contrib-logstash

Licence: Apache-2.0 license
NodeRED nodes for visually modeling Logstash pipelines

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to node-red-contrib-logstash

Docker Elastic Stack
ELK Stack Dockerfile
Stars: ✭ 175 (+464.52%)
Mutual labels:  logstash
Jlogstash
java 版本的logstash
Stars: ✭ 250 (+706.45%)
Mutual labels:  logstash
theme-collection
A collection of themes for Node-RED
Stars: ✭ 43 (+38.71%)
Mutual labels:  node-red
Docker Elastic
Deploy Elastic stack in a Docker Swarm cluster. Ship application logs and metrics using beats & GELF plugin to Elasticsearch
Stars: ✭ 202 (+551.61%)
Mutual labels:  logstash
Logstash Output Jdbc
JDBC output for Logstash
Stars: ✭ 230 (+641.94%)
Mutual labels:  logstash
elastic-stack-testing
Elastic Stack Testing Framework (ESTF) 🤖
Stars: ✭ 47 (+51.61%)
Mutual labels:  logstash
Synesis lite suricata
Suricata IDS/IPS log analytics using the Elastic Stack.
Stars: ✭ 167 (+438.71%)
Mutual labels:  logstash
EnterpriseApplicationLog
Enterprise Application Log with RabbitMQ, LogStash, ElasticSearch and Kibana
Stars: ✭ 88 (+183.87%)
Mutual labels:  logstash
Chipmunk
log analysis tool
Stars: ✭ 247 (+696.77%)
Mutual labels:  logstash
node-red-contrib-sonospollytts
Play speech TTS using Sonos.
Stars: ✭ 11 (-64.52%)
Mutual labels:  node-red
Kafka Influxdb
High performance Kafka consumer for InfluxDB. Supports collectd message formats.
Stars: ✭ 206 (+564.52%)
Mutual labels:  logstash
Go Stash
go-stash is a high performance, free and open source server-side data processing pipeline that ingests data from Kafka, processes it, and then sends it to ElasticSearch.
Stars: ✭ 214 (+590.32%)
Mutual labels:  logstash
node-red-contrib-mssql-plus
A Node-RED node to read and write to Microsoft MS SQL Databases
Stars: ✭ 22 (-29.03%)
Mutual labels:  node-red
Elastiflow
Network flow analytics (Netflow, sFlow and IPFIX) with the Elastic Stack
Stars: ✭ 2,322 (+7390.32%)
Mutual labels:  logstash
lgrep
CLI for searching logstash and other elasticsearch based systems
Stars: ✭ 12 (-61.29%)
Mutual labels:  logstash
Microservices Sample
Sample project to create an application using microservices architecture
Stars: ✭ 167 (+438.71%)
Mutual labels:  logstash
Dsiem
Security event correlation engine for ELK stack
Stars: ✭ 255 (+722.58%)
Mutual labels:  logstash
pf-azure-sentinel
Parse pfSense/OPNSense logs using Logstash, GeoIP tag entities, add additional context to logs, then send to Azure Sentinel for analysis.
Stars: ✭ 24 (-22.58%)
Mutual labels:  logstash
logstash-output-s3
No description or website provided.
Stars: ✭ 55 (+77.42%)
Mutual labels:  logstash
tutorials
Tutorials
Stars: ✭ 80 (+158.06%)
Mutual labels:  logstash

Node-RED Logstash nodes

This project aims at providing a set of Node-RED nodes for modeling and executing any Logstash pipelines.

Context

The Node-RED project provides a nice browser-based visual editor for wiring the Internet of Things.

This project makes the assumption that if you can wire IoT devices, you can wire anything. So, the initial idea is to use the excellent environment offered by the Node-RED platform in order to visually model Logstash pipelines as Node-RED flows. This project thus aims at providing all Logstash components (i.e. inputs, outputs and filters) in the form of additional Node-RED nodes that anyone can then easily assemble into her own Logstash pipeline instead of having to write the configuration file manually.

Using these new nodes and existing ones, one will not only be empowered to model her Logstash pipelines in a neat visual environment, but such pipelines can also be executed inside the Node-RED runtime.

Visual modeling and real-time execution of Logstash pipelines are nice, but there's more. Once the pipeline executes according to your expectations, you can generate and export the corresponding Logstash configuration file in order to use it on the Logstash command-line.

Another neat feature that this project is going to support is the ability to parse any existing Logstash configuration and automatically create the corresponding Node-RED flow, which can then be further re-arranged, improved, modified and re-exported. Yes, round-trip Logstash engineering!

Finally, since the Node-RED ecosystem also allows contributors to share their flows in the open Node-RED library for others to reuse, this basically opens the door to sharing your Logstash pipelines with others.

To sum up, this project can be seen as some sort of missing Visual IDE for Logstash, which allows you to:

  • visually model a full-blown Logstash pipeline by dragging and dropping input/filter/output nodes and wiring them together as Node-RED flows
  • generate the equivalent Logstash configuration you'd have written by hand otherwise
  • share Logstash pipelines (aka Node-RED flows) with the community and your peers
  • execute the Logstash pipeline in real-time inside the Node-RED runtime (in progress)
  • reverse-engineer existing Logstash pipelines into Node-RED flows (in progress)

Installation

  1. First, follow the steps to install the Node-RED environment. By default, Node-RED gets installed into your home directory in .node-red.

  2. > cd ~/.node-red

  3. Install this package via npm: > npm install node-red-contrib-logstash

  4. Fire up Node-RED: > node-red

  5. Open your browser at http://localhost:1880

How to use

1. Drag & drop

Once Node-RED is started, you'll find all the Logstash nodes in the left sidebar, called the palette.

Logstash nodes

You can drag and drop them into the workspace and visually compose your pipeline (aka Node-RED flow).

Logstash pipeline

2. Configure node settings

The official settings for the file input plugin are shown on the figure below (taken from the official documentation):

Logstash file input plugin

Once you add a node into the workspace, you can configure its settings by double clicking on the node in order to open a configuration dialog, such as the one shown below for the file input node.

As you can see, all the settings for the file input node can be input into text fields or selected from dropdown lists which are automatically populated by the supported values defined in the respective Logstash plugin. Similarly, placeholder values show the default settings as configured in the respective Logstash plugin.

Logstash settings

3. Generate Logstash configuration

The very simple pipeline wired in step 1 above basically corresponds to the following Logstash configuration, which has been automatically generated from the above pipeline/flow:

input {
  # Tail test.log
  file {
    codec => "json"
    path => "/home/me/test.log"
    type => "test"
    add_field => { "[@metadata][test]" => "Hello1" }
  }
  # Tail test2.log
  file {
    codec => "json"
    path => "/home/me/test2.log"
    type => "test2"
    add_field => { "[@metadata][test]" => "Hello2" }
  }
}
filter {
  if [type] == "test" {
    # Lowercase first name
    mutate {
      lowercase => "first_name"
    }
  }
  if [type] == "test2" {
    # Lowercase last name
    mutate {
      lowercase => "last_name"
    }
  }
}
output {
  # Out
  stdout {
    codec => "rubydebug"
  }
}

And now the limit is the sky!

Future

The ultimate objective of this project is to migrate this visual Logstash editor environment as a Kibana plugin.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].