2
u/lesleyjea Jan 25 '24
Why isn't a proper tool available for this yet?!
4
u/EatMoreChick I see what you did there Jan 25 '24
I think traditionally it's been a little difficult to automatically generate regex since you also need contextual information about the formatting of the log. Splunk's current implementation of it pretty much just hard codes the log's format.
With tools like ChatGPT and other LLMs I think soon we will see better implementations that take into account the context and formatting of the data. This site has been around it for at least a few years now, so I'm sure even better techniques will come out soon: https://www.autoregex.xyz/
2
0
Jan 24 '24
[deleted]
2
11
2
Jan 25 '24
[removed] — view removed comment
3
u/Adept-Speech4549 Drop your Breaches Jan 25 '24
Same here. Regexr and later regex101 became my go-to for things I could write quickly or were complex beasts.
5
u/badideas1 Jan 24 '24
Talking about the field extractor tool, or erex? Either way, based