Splunk Search

Splunk Query

sunket6006
Engager

Hello,

I am looking for a Splunk query that could match date as below.

"*Execution failure in Transferring Transaction Billing File :: 210609*"

This is the logs I get for a file transfer with yesterdays date, how can search that could replace the static date to dynamic. I want a query that could search for above texts and equivalent yesterdays everyday.

Labels (3)
0 Karma

sunket6006
Engager

Actually I was trying to use this query, but it sis not working as expected.

index=securecode host IN (cjb4stl181) sourcetype=securecode:billing:txn_gft "*Execution failure in Transferring Transaction Billing File :: " .strftime(relative_time(now(), "-1d@d"), "%y%m%d") . "*"

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

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 ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...