Can someone please explain how I use a wildcard character in the middle of a search string? For example, if I want find all gmail addresses that start with the letter 'a', I thought I could search for emailaddress="email@example.com, however this returns all records. I guess I have to use a regex but my knowledge hasn't reached that level yet so I am struggling with this one.
Strange, I just tried you're search query emailaddress="firstname.lastname@example.org" and it worked to filter emails that starts with an a, wildcards should work like you expected.
Alternatively use the regex command to filter you're results, for you're case just append this command to you're search.
| regex emailaddress="^email@example.com"
This will find all emails that starts with an "a" and ends with "@gmail.com"
other than the fact that you are missing a closing double quote in your example. That will work fine.
Is that a typo?
Is not working for me either.
index=myindex | regex myfield="^my*.value.com"
and it is not finding anything even I
Where it should match