https://github.com/omercnet/graylog2-uaparser
https://github.com/omercnet/graylog2-uaparser
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/omercnet/graylog2-uaparser
- Owner: omercnet
- License: apache-2.0
- Created: 2016-09-23T18:40:54.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-02-07T18:24:26.000Z (over 2 years ago)
- Last Synced: 2025-02-02T08:16:28.018Z (over 1 year ago)
- Language: Java
- Size: 32.2 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UaParser Plugin for Graylog
[](https://travis-ci.org/omercnet/graylog2-uaparser)
__Use this paragraph to enter a description of your plugin.__
**Required Graylog version:** 2.0 and later
Installation
------------
[Download the plugin](https://github.com/omercnet/graylog2-uaparser/releases)
and place the `.jar` file in your Graylog plugin directory. The plugin directory
is the `plugins/` folder relative from your `graylog-server` directory by default
and can be configured in your `graylog.conf` file.
Restart `graylog-server` and you are done.
Development
-----------
You can improve your development experience for the web interface part of your plugin
dramatically by making use of hot reloading. To do this, do the following:
* `git clone https://github.com/Graylog2/graylog2-server.git`
* `cd graylog2-server/graylog2-web-interface`
* `ln -s $YOURPLUGIN plugin/`
* `npm install && npm start`
Usage
-----
__Use this paragraph to document the usage of your plugin__
Getting started
---------------
This project is using Maven 3 and requires Java 8 or higher.
* Clone this repository.
* Run `mvn package` to build a JAR file.
* Optional: Run `mvn jdeb:jdeb` and `mvn rpm:rpm` to create a DEB and RPM package respectively.
* Copy generated JAR file in target directory to your Graylog plugin directory.
* Restart the Graylog.
Plugin Release
--------------
We are using the maven release plugin:
```
$ mvn release:prepare
[...]
$ mvn release:perform
```
This sets the version numbers, creates a tag and pushes to GitHub. Travis CI will build the release artifacts and upload to GitHub automatically.