Score:0

Can I flatten MariaDB general logs from their multiline format?

cn flag

We're trying to get our MariaDB transaction logs imported into SumoLogic, however the logs are in a multiline format so the logs that are being uploaded are essentially unusable in this format. Sumo allows us to use regex to determine the log boundaries, however the logging is such that this is untenable. Is it possible to natively squash the multiline output into a single log entry?

ua flag
I've had this challenge before. Please provide a few _dissimilar_ examples, plus the programming language you would like to work with.
cn flag
I was hoping that this was doable within MariaDB's settings. Given that you're asking for examples and a language I'd be working with, it sounds like it's not. Thank you anyway
ua flag
Not many _performance_ issues can be fixed by changes to the tunables.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.