Splunk Search

Setting 'earliest' in a splunk query

harihara
Observer

index =prd-Thailand sourcetype=abc-app-log earliest=-75m@m latest=now

|table a, b,c ,d ,e, f
|where a=1324 b=345
|stats count as volume

Question is how to replace earliest=-1440m@m

Please let me know if any more details required

Labels (1)
0 Karma

harihara
Observer

It is a dasboard query which is used linked other queries as well

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Please provide further detail of what you have and what you are trying to achieve

livehybrid
SplunkTrust
SplunkTrust

Hi @harihara 

If you want to search back the last 24 hours then you can just replace the existing "-75m@m" with "-1440m@m", or "-1d" for the last 24 hours from now, or "-1d@m" which is the same as 1440 but just easier to read.

Are you having any issues when trying to replace the -75m@m  with "-1440m@m"?

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...