https://github.com/chriscarini/logshipper-intellij-plugin
An IntelliJ plugin to ship logs to LogStash
https://github.com/chriscarini/logshipper-intellij-plugin
intellij intellij-plugin jetbrains jetbrains-ecosystem jetbrains-plugin
Last synced: 6 months ago
JSON representation
An IntelliJ plugin to ship logs to LogStash
- Host: GitHub
- URL: https://github.com/chriscarini/logshipper-intellij-plugin
- Owner: ChrisCarini
- License: apache-2.0
- Created: 2018-10-02T02:38:54.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2025-04-17T08:56:20.000Z (6 months ago)
- Last Synced: 2025-04-17T22:14:47.778Z (6 months ago)
- Topics: intellij, intellij-plugin, jetbrains, jetbrains-ecosystem, jetbrains-plugin
- Language: Java
- Homepage: https://plugins.jetbrains.com/plugin/11195-logshipper
- Size: 1.81 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
#
Logshipper
[](#contributors-)
A plugin for JetBrains IDEs to ship logs to a remote logstash service.
[](https://github.com/ChrisCarini/logshipper-intellij-plugin/blob/main/LICENSE)
[](https://plugins.jetbrains.com/plugin/11195-logshipper)
[](https://plugins.jetbrains.com/plugin/11195-logshipper)
[](https://plugins.jetbrains.com/plugin/11195-logshipper)
[](#contributors)
[](https://github.com/ChrisCarini/logshipper-intellij-plugin/actions/workflows/build.yml)
[](https://github.com/ChrisCarini/logshipper-intellij-plugin/actions/workflows/compatibility.yml)This plugin adds a custom `java.util.logging` `Handler` to the root `Logger` of IntelliJ, allowing all logs to be
shipped to a logstash server.## Configuration
Users are able to configure the `logstash`:
* hostname
* port
* reconnect delayAdditionally, users are able to:
* include location information from the `LogRecord`.
* generate sample log messages for testing / debugging purposes.
- **Note:** this *may* fill up your log, as the test log messages happen once every 2 seconds.## Demo
For ease, this repo also includes the necessary `docker-compose` files to setup the ELK stack.Use the `./elk_stack.sh` bash script to init / start / stop / restart / status / purge ELK stack.
### Quick Start
1. **Start ELK**
```shell
./elk_stack.sh init
```2. **Launch the IDE** with Logshipper plugin
3. **Configure** Logshipper settings
1. **Hostname:** `localhost`
2. **Port:** `5000`
4. **Navigate** to http://localhost:5601 and login with `elastic/changeme`.
5. Find the 'Logshipper Telemetry PoC' dashboard
6. Profit!#### `elk_stack.sh` man page
```bash
Usage: ./elk_stack.sh [options]Subcommands:
init Start the ELK Stack & add sample Logshipper dashboardstart Start the ELK Stack
stop Stop the ELK Stack
status Status of ELK Stack
restart Restart the ELK Stackpurge Stop & delete all containers associated with Logshipper
Note: This script assumes you have 'docker-compose' installed.
```## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!