Splunk AppDynamics

how to monitor a file for content and send email if content available...

CommunityUser
Splunk Employee
Splunk Employee

Hi,

As an AppD beginner, loads of time, I get stuck with the easiest problems..   😞    right now I am trying to create a search that extracts content from a file.

SELECT * FROM logs WHERE source = "%*SAP*%" and messages like "%,cn%" but do not get a search result.    *sap*  is part of the filename.     ,cn is part of the content...      any good ideas out there ??    

thanks.

helmut. 

Labels (1)
0 Karma
1 Solution

Mohammed_Rayan
Contributor

Helmut,

can you let us know what's the error you are facing while running that query. Maybe, you can share a screenshot if possible.

Also, I would suggest you to try something like below and let me know if it works and also try once without any wildcard charcters and share its result.

SELECT * FROM logs WHERE source = "%*SAP*%" and message ="%,cn%"

Regards,

Mohammed Rayan

View solution in original post

0 Karma

Mohammed_Rayan
Contributor

Helmut,

can you let us know what's the error you are facing while running that query. Maybe, you can share a screenshot if possible.

Also, I would suggest you to try something like below and let me know if it works and also try once without any wildcard charcters and share its result.

SELECT * FROM logs WHERE source = "%*SAP*%" and message ="%,cn%"

Regards,

Mohammed Rayan

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...