Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Use NOT in IF condition

$
0
0
I have 2 files Account and Account.TXT and I have to get only the "Account" file details if( (like(filename,"Account%") AND NOT like(filename,"Account%.txt%") ),filename,"X") but it is returning both the file types what is the mistake here ?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>