- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Search for multiple keywords.
ykmohank
New Member
12-18-2013
11:26 PM
Hi,
I want to do a search having multiple strings.
Example: Consider,I am looking for SearchKey1 and SerachKey2
In SQL i will write something like this
Select * from Table_Name where ColumnName like '%SearchKey1%' and ColumnName like '%SerachKey2%'
IN SQL the above query returns me all the rows having both search keys SearchKey1 and SearchKey2 in it.
I want to achieve similiar kind of search in SPLUNK. Please help me with appropriate code.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

MuS
Legend
12-18-2013
11:37 PM
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

MuS
Legend
12-18-2013
11:39 PM
but I give you some hint:
source=_Name ColumnName="*SearchKey1*" ColumnName="*SearchKey2*"
or
index=_Name ColumnName="*SearchKey1*" ColumnName="*SearchKey2*"
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
adminpulse
Loves-to-Learn Lots
07-27-2023
01:40 AM
its not working
