ktsstudio / es2loki Goto Github PK
View Code? Open in Web Editor NEWElasticsearch to Grafana Loki logs transfer library
License: Apache License 2.0
Elasticsearch to Grafana Loki logs transfer library
License: Apache License 2.0
Hi,
The tool doesn't support the old version of Elasticsearch? I need to transfer logs from 7.10.2
version but when I started
python3.10 -m es2loki
Logs said
1680796415.824380 2023-04-06 19:53:35,824.824 [asyncio] DEBUG: Using selector: KqueueSelector
1680796415.824614 2023-04-06 19:53:35,824.824 [BaseTransfer] INFO: Starting BaseTransfer...
1680796415.824744 2023-04-06 19:53:35,824.824 [BaseTransfer] INFO: starting from state State(timestamp=None, transferred=0, value=[])
1680796416.026501 2023-04-06 19:53:36,026.026 [elastic_transport.transport] INFO: POST http://localhost:9200/index-2022.10.27/_count [status:200 duration:0.202s]
1680796416.026783 2023-04-06 19:53:36,026.026 [BaseTransfer] ERROR: error retrieving total docs count: The client noticed that the server is not Elasticsearch and we do not support this unknown product
1680796417.102797 2023-04-06 19:53:37,102.102 [elastic_transport.transport] INFO: POST http://localhost:9200/index-2022.10.27/_count [status:200 duration:0.073s]
The code only migrate data from ES to Loki, is possible or what is the difficult to let job export online?
Instead finish job, listen the current index and put this doc into loki online.
Great job.
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.