- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
marceldera
Explorer
08-29-2022
09:54 AM
How can i rename the value of the policy name from = to "contains". Instead of saying "index=tenable* sourcetype="*" policyName="*"
| eval policyName=if(policyName="93e1da98-656c-5cd5-933b-ce6665fc0486-1948841/CIS PostgreSQL 11 (20210915)","PostgreSQL",policyName) "
I would like to say "if(policyName=*CIS PostgreSQL*
it doesn't work
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
08-29-2022
09:57 AM
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
08-29-2022
09:57 AM
if(match(policyName,"CIS PostgreSQL"), ...
