Trying to figure out the best way to tackle two issues - both of which are related to one logsource.
I have mail logs which logs attachment names like what is shown below. "This=20is=20a=test.pdf"
What is the best way to handle this? Is there a way to take care of this when ingesting the log data or is the better approach to do this at search time? I wan to be able to run a search for attachment_name="This is a test.pdf" which I can't see to do right now without ensuring that I include the HEX values for certain characters.
My other question also related to the same log source. Following the recommend settings for cim compliance the name and the extension get logged in two separate fields. What's the best way to handle this during searches so I can, again, search for the exact filename including extension?
Right now what I've been doing is something like: searchHere (attachment_name="This=20is=20a=test" AND filetype="pdf")
What I'd like to be able to do is: searchHere attachment="This is a test.pdf"
What is the recommended solution for this? Should an additional field be created which combines both values or is there a good way to do this at searchtime?