Splunk Search

regex pattern

dhandu
Explorer

Hi,

I am trying to regex only -R from this following results. However rex I used is not working. Please suggest

Test/repo1
Test-R/repo2
Test-R/repo3

Tags (1)
0 Karma
1 Solution

dhandu
Explorer

Please ignore .This pattern work regex repo="-R\/"

View solution in original post

0 Karma

dhandu
Explorer

Please ignore .This pattern work regex repo="-R\/"

0 Karma

dhandu
Explorer

My search results like following . Please suggest how to get -R ending results only
msg=
Test/repo1
Test-R/repo2
Test-R/repo3

Thanks in Advance

0 Karma
Get Updates on the Splunk Community!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...