Coder Social home page Coder Social logo

ta-maclookup's Introduction

===maclookup Technology Add-on===

Author: MuS

Supported product(s): CIM src_mac field or any other specified field with nic MAC's in it

Source type(s):

Input requirements: The standard IEEE 802 MAC-48 address format is required. The server where the search is running, must be able to connect to the internet, since this lookup can happen on an internet DB ;) The nic MAC must be in the following format

  • 00:11:22:33:44:55
  • AB-CD-12-34-EF-A1
  • 0123.4567.89ab

The online result will be the following new fields:

startHex The start of the MAC address range the vendor owns in hexadecimal format endHex The end of the MAC address range the vendor owns in hexadecimal format startDec The start of the MAC address range the vendor owns in decimal format endDec The end of the MAC address range the vendor owns in decimal format company Company name of the vendor or manufacturer addressL1 First line of the address the company provided to IEEE addressL2 Second line of the address the company provided to IEEE addressL3 Third line of the address the company provided to IEEE country Country the company is located in type There are 3 different IEEE databases: oui24, oui36, and iab MAC The MAC used for the lookup

===Using this Technology Add-on===

Setup: Install TA and restart Splunk. If it is not working, enable debugging in the maclookup.py script. After that you will have a log file in $SPLUNK_HOME/var/log/splunk/ and get UI errors. Remember to disable the debugging after that.
Sometimes Splunk needs for what ever reason two restarts to get this working.

Configuration: Automatic

Usage: example1 = | maclookup Offline lookup NIC MAC in field 'src_mac' using netaddr module

example2 = | maclookup field=foo Offline lookup NIC MAC in field 'foo' using the online internet lookup

example3 = | maclookup online=yes field=foo Online lookup NIC MAC in field 'foo' using the online internet lookup

===Support=== This is an open source project, no support provided, but you can ask questions on answers.splunk.com and I will most likely answer it. Github repository: https://github.com/M-u-S/TA-maclookup

I validate all my apps with appinspect and the log can be found in the README folder of each app.

===Versions=== Version/Date: 1.0 / October 2012 Version/Date: 1.1 / October 2013 - added App icon, Splunk 6 support Version/Date: 1.2 / May 2014 - changed MAC regex match Version/Date: 1.3 / August 2014 - changed MAC regex match Version/Date: 2.0 / September 2014 - complete re-write Version/Date: 2.1 / September 2014 - added debugging Version/Date: 2.2 / September 2014 - added dummy fields for unknown MAC's Version/Date: 2.3 / January 2018 - bug fixes Version/Date: 2.4 / February 2018 - Bug fixes Version/Date: 2.5 / February 2018 - Added offline and field option Version/Date: 2.5.2 / February 2019 - Added new online service

ta-maclookup's People

Contributors

m-u-s avatar scuotivento 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.