https://github.com/38/glimpse
A generic,high-performance key-value log processing framework
https://github.com/38/glimpse
Last synced: 6 days ago
JSON representation
A generic,high-performance key-value log processing framework
- Host: GitHub
- URL: https://github.com/38/glimpse
- Owner: 38
- Created: 2013-04-09T00:30:37.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2017-06-26T19:54:49.000Z (about 9 years ago)
- Last Synced: 2025-06-09T14:48:59.727Z (about 1 year ago)
- Language: C
- Size: 1 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Glimpse
=======
A generic,high-performance key-value log processing framework written in C.
#Build Glimpse
prequisite:
cmake
libreadline
How to build?
1) run `cmake .' to generate Makefile
2) Edit File to enable/disable features (optional)
3) make
After you build Glimpse, you can type 'make install' to install glimpse onto your computer.
If you want to remove Glimpse, run the script 'scripts/uninstall.sh ${INSTALL_PREFIX}'
#Try Glimpse
You can try the framework with the shell, glimpse-cli.
#How to build a Plugin
Steps to compiling examples/plugin.c into a loadable Plugin
1) Compile plugin.c
gcc `glimpse-config --plugin --cflags TypeAPI` -c -o plugin.o plugin.c
2) Link libplugin.so
gcc `glimpse-config --plugin --libs TypeAPI` -o ligplugin.so plugin.o
3) Test plugin with glimpse-cli
$glimpse-cli
Glimpse CLI Shell (libglimpse 0.0.1)
with multi-char-seperator=no,parser-stack=no,multi-threading=no,lazy-instance=yes,char-table=no
Type `help' for avaiable commands
Glimpse> import plugin
F[myinit@plugin.c: 4] Hello, Glimpse!
0.299409 ms