Videos

  • Add Videos
  • View All

Latest Activity

Profile Icon
Greg Vallenari is now a member of splunkninja Sunday
Profile Icon
Profile Icon
Michael Wilde commented on Michael Wilde's video
Sure...  When you do group mapping, map them to groups that don't have the domain admins in them.  I have a separate OU=Groups that has "Splunk Users, Splunk Admins, Splunk Power Users" as group names, and specific users…
Feb 8
Profile Icon
Mike Hartford commented on Michael Wilde's video
I want to give LDAP access to my splunk servcie but I don't want the LDAP users to have admin capabilitys in Splunk.  Can I keep the domain admins out of Splunk if I have LDAP authentication???
Feb 7
Profile Icon
Mike Hartford left a comment for Jonathan Hawes
Helow Jonathan,   Glad to have another Splunker.  I've been useing Splunk for 2 years and am hooked.  I leared how to spell splunk and | transaction too.  you'll learn that one soon.   Go over to Splunk…
Feb 7
Profile Icon
Mike Hartford commented on Mike Hartford's blog post 'tees for the holy day'
  Holy Batskins Ninja, zzzzzwap zgruppp kapow a hidden stash, how great is that!!!!   The team that found them must have special bat senses and highly tooned Splunking skills   I like to wear Extra Lovable…
Feb 7
Profile Icon
Learning, learning, learning . . . Our Splunk "expert" is gone, and the non-programmer gets to learn the task! How do you spell SPLUNK?
Status posted by Jonathan Hawes Feb 7
Profile Icon
Jonathan Hawes is now a member of splunkninja Feb 7
I have three stanzas in my transforms.conf file--these work as long as the case matches what's in my regex statement.

How do I make "productimages" case insensitive?
REGEX = /productimages/[a-z0-9_-]+\.jpg

TIA,

Craig

Tags: case, insensitive, regex, transforms.conf

Views: 82

Reply to This

Replies to This Discussion

Put a (?i) at the beginning and it'll switch
it to case insensitive. Splunk's own Field Extraction wizard almost always adds that at the beginning of any learned regex.
Thanks, we've added that to our transforms.conf (on 3 different stanzas) and it works.

FYI, one of our developers asked me "what type of regex does Splunk support?". I have no idea what the answer to that is, and couldn't find it in the KB on splunk.com.

What is the correct answer?
PCRE or "Perl Compatible Regular Expressions"

RSS

© 2012   Created by Michael Wilde.

Badges  |  Report an Issue  |  Terms of Service