Skip to content

Export more than 24 hour log #2319

Answered by nblumhardt
albgen asked this question in Help
Discussion options

You must be logged in to vote

Hi Evald; the best way to export large numbers of events from Seq is using seqcli search --json and piping the results to a file. You'll still need to specify a count, and I'd suggest doing it one day at a time if there's a lot of data to get through.

seqcli search --json -c 1000000000 --start="2024-01-01T00:00:00Z" --end="2024-01-02T00:00:00Z" > logs-2024-01-01.ndjson

Hope this helps,
Nick

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nblumhardt
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants