Getting Data In

Simple field extractions not working in props

brantramey
Explorer

We are having an issue getting fields to work with this one application. If we move the props.conf to the etc/system/local/ directory the extractions work fine but when they are in a seperate app they are not working. We have also verified when using the same regex in the search everything works fine: earliest=-5m index=pcoip |rex field=_raw "(?i)(ms) = (?P[^,]+)" |rex field=_raw "(?i) Loss=(?P[^%]+)" |rex field=_raw "(?i) tbl (?P[^ ]+)" |rex field=_raw "(?i)^[^%]*%/(?P[^%]+)"
We have verified permissions are set to Everyone Read and Admin Write for the app as well. We are using 4.5.2.4. This has been driving us crazy for several days.

props.conf file:
[vmware_pcoip]
EXTRACT-rtt = (?i)(ms) = (?P[^,]+)
EXTRACT-rloss = (?i) Loss=(?P[^%]+)
EXTRACT-tbl = (?i) tbl (?P[^ ]+)
EXTRACT-tloss = (?i)^[^%]*%/(?P[^%]+)

0 Karma

dart
Splunk Employee
Splunk Employee

Are you trying to use the fields in a different app, e.g. search?
They are probably set to App level sharing, instead of Global, if so. Check via Manager -> Fields -> Field Extractions, then the permissions link next to the extractions.

brantramey
Explorer

Thanks, that worked.

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 ...