Dashboards & Visualizations

Searching for a partial string in a loadjob

strehb18
Path Finder

Hello,

I generally use the following format to limit specific search results from panel to panel. However, in this case I would like to search for anything containing the string. 

[|loadjob $work_center_base$
| stats values(work_center) as location] 

This would limit the results in my search to only what is in the work_center field. I would like to match anything that contains what is in the location field. I won't this as the locations have more description after the work_center. 

ex:

work_center              

1CAP1
1CAP2
1CAP3
1CAP4

location  (examples to match) 

1CAP1-E3

1CAP2-W4

1CAP1-W1 

1CAP4-E1 ...

I am wondering if I can alter my search to match these and keep all locations that contain partials of work_center. 

Labels (2)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...