Giter VIP home page Giter VIP logo

srl-splunk-lab's Introduction

Intro

This repo contains containerlab-based labs demonstrating how logs from SR Linux network elements can be collected, parsed, and stored using Splunk with Splunk-Connect-4-Syslog (using a custom log parser)

A series of blog posts go into the details of various deployment models:

  1. SR Linux logging with Splunk - an introduction to the modern logging infrastructure using Splunk.

Lab Topology

The srl-splunk.clab.yml topology represents a 2-tier Clos fabric with 2 clients participating in a single L2 EVPN domain.

Splunk lab topology

Naming conventions are straighforward:

  • leaf[1-3] - leaves
  • spine[1,2] - spines
  • client[1,2] - emulated clients

client1 connectivity uses a single interface attached to leaf1. client2 is connected as A/S to leaf2 and leaf3 with standby link signalling using LACP.

spine1 and spine2 are acting as BGP RR. This setup is sufficient to demonstrate a way to integrate a fabric with Splunk.

Quick start

In order to bring up your lab follow the next simple steps:

  1. Clone repo
git clone https://github.com/srl-labs/srl-splunk-lab.git
cd srl-splunk-lab
  1. Deploy the lab
cd <lab folder>
sudo clab deploy

Looking at logs

Your pre-configured Splunk instance should be available via http://localhost:8000. Now you can login to the dashboard (admin/changeme), go to the 'Search' tab and search for 'index="netops"'

splunk search

srl-splunk-lab's People

Contributors

jbemmel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.