Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riwanou/revent
Utilities to manage elastic search events.
https://github.com/riwanou/revent
Last synced: 2 days ago
JSON representation
Utilities to manage elastic search events.
- Host: GitHub
- URL: https://github.com/riwanou/revent
- Owner: riwanou
- Created: 2023-11-07T15:22:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-08T16:06:45.000Z (about 1 year ago)
- Last Synced: 2024-11-11T19:43:12.232Z (2 months ago)
- Language: Go
- Homepage:
- Size: 453 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Revent
Utilities to manage elastic search events between differents instances.
## Usage
```bash
mkdir events/02-11-2023
# fetch events from ip-source, limit to 1 million per index (l flag), output to specified directory
./revent fetch -o events/02-11-2023 -u http://[ip-source]:9200 -l 1000000
# push events from specified directory to ip-target
./revent push -i events/02-11-2023 -u http://[ip-target]:9200
```## Fetch
Fetch events from an ElasticSearch api and store them.
**file format**
```json
{
"indexName": "index name",
"indexData": {},
"eventsFetchLimit": 10,
"eventsNb": 100,
"events": [
{},
{},
{}
]
}
```## Push
Push events from events files to an ElasticSearch api.