Skip to content

Elasticsearch to OpenObserve Data Migration Tool

License

Notifications You must be signed in to change notification settings

openobserve/sync-es-openobserve

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sync-es-openobserve

Sync ES to OpenObserve

Env Required Default Example
O2_ADDR Yes http://localhost:5080
O2_USER Yes admin
O2_PASS Yes ******
O2_ORG Yes default
O2_STREAM Yes my_stream
ES_ADDR Yes http://localhost:9200
ES_USER Yes elastic
ES_PASS Yes ******
ES_INDEX Yes my_index
BATCH_SIZE No 1000 500
MAX_RETRIES No 3 5
ES_QUERY No {"query":{"match_all":{}}} Custom queries can enable customized migration features, such as: Task splitting, Incremental migration, Resumable transfer. The following query ensures only data within the specified time range is migrated:
{"query":{"range":{"@timestamp":{"gte":"2025-04-01T00:00:00+08:00","lte":"2025-04-01T23:59:59+08:00","format":"strict_date_optional_time"}}}}

About

Elasticsearch to OpenObserve Data Migration Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%