Getting Data In

Help with props.conf

daniel333
Builder

all,

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=linux_messages_syslog | head 1
| rex field=_raw "dest_dvc=(?.*) jira="
| makemv dest_dvc
| rex mode=sed field=dest_dvc "s/,//g"

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

thanks
-Daniel

0 Karma

FrankVl
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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...