Getting Data In

Help with props.conf



I was able to get the results I wanted in my search but I need to convert this into a props.conf config file.

vendor=f5 sourcetype=linuxmessagessyslog | head 1
| rex field=raw "destdvc=(?.*) jira="
| makemv destdvc
| rex mode=sed field=dest
dvc "s/,//g"

How do I get makemv and that sed into props.conf?


0 Karma

Re: Help with props.conf

Ultra Champion

Can you please post your search code as code using the 101010 button in the editor? Otherwise some special characters might get lost, causing people to misunderstand your regexes for example.

Also: some sample data and desired output might help understand what you are trying to do.

In general: SEDCMD in props.conf works on the raw data at indextime, so you cannot use it in a similar way as you are doing here. Hence: please provide sample data and show what the desired output should be, then we can certainly help you come up with some props.conf code that does the same.

0 Karma