I have a custom log with the following preview:
Message="An account was successfully logged on." Security_ID="NT AUTHORITY\SYSTEM\nNT AUTHORITY\SYSTEM" Account_Domain="xxxxx\nNT AUTHORITY" Logon_Type="5"
When it's ingested into splunk, the fields extracted are
Message: An account was successfully logged on.
Account_Domain: xxxxx nNT AUTHORITY
Security_ID: NT AUTHORITY\SYSTEM\nNT AUTHORITY\SYSTEM
Logon_Type: 5
As you can see, the \n
is not being broken down into multivalues.
What should i modify, so that the output will be as such
Message: An account was successfully logged on.
Account_Domain: xxxxx
NT AUTHORITY
Security_ID: NT AUTHORITY\SYSTEM
NT AUTHORITY\SYSTEM
Logon_Type: 5
I've tried modifying and playing around with props.conf
, transforms.conf
but to no avail.
Appreciate any help!
This should not be an issue and should happen correctly automatically. How are you getting these events forwarded into splunk?
If this is some custom log that really contains the string Security_ID="NT AUTHORITY\SYSTEM\nNT AUTHORITY\SYSTEM"
, there certainly won't be automatic multi value functionality.
But that field extraction anyway doesn't happen at "ingestion". So this sounds to me like something that can perfectly be resolved with some evals in props.conf to split fields by "\n"
, right?
@jinhaochan any chance you can share some screenshots, rather than your own textual interpretation of what the events look like, just to prevent any confusion?