Hi Anders, all log messages processed by Graylog are indexed into Elasticsearch and you can, of course, also query Elasticsearhc directly to get the messages you want. You could for example use the Elasticsearch CSV plugin (https://github.com/jprante/elasticsearch-csv) to get all messages out of ES in CSV format.
But be aware that this should roughly have the same performance characteristics as using the Graylog CSV export, i. e. if that was too slow for you or imposed a big performance hit on your setup, accessing ES directly should have the same effect. Cheers, Jochen On Tuesday, 4 August 2015 14:25:05 UTC+2, Anders Wind wrote: > > Hi > > I am trying to export all logs we have from the last month or so, and I > have tried to do so in several ways. > > To begin with i tried to use the "download as .csv file" but that only > allowed me to download 10000 lines or so, which is not nearly enough. > Querying the rest API for more than 24 hours' worth of logs, seems to take > too much processing power for the node to handle. > > Is there any way I can access all the logs and download them from the > server, like downloading the database directly? > > Thanks in advance and I apologize if this question is already answered > elsewhere (I have tried googling and searching through the topics) > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/c44814fe-1af9-4450-8462-652fada97a33%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
