Getting Data In

Apache Log Greping fo two timestamp

kalimsayyed
New Member

Hi,

I want to grep apache access log of two different timestamp and display the report.

for eg : [14/Feb/2013:17:59:59 -0600] and [14/Feb/2013:18:20:59 -0600] logs.

Could you please help me,

Thanks.

Tags (1)
0 Karma

kalimsayyed
New Member

Hi,

How can i get apache access log of two different timestamp in splunk.

Thanks.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Do you fail at getting the data in or at getting events you're looking for out?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust
$ grep "(14/Feb/2013:17:59:59 -0600)|(14/Feb/2013:18:20:59 -0600)" logfile_name

Why use grep when you could use Splunk?

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...