Splunk Search

How to group the data by date and type, so each entry would count as 1, from SQL Datasource?

Bbyers3
New Member

I have a date in my SQL database that I want to group the data by that date and Type. The Year/Month/Week/Day each entry would count as 1.

Example Dates

1/2/2018 - P
1/5/2018 - P
1/10/2018 - P
1/15/2018 - V
1/20/2018 - V
1/28/2018 - V

Should Produce

Jan - 6
Week 1 - 2P
Week 2 - 1V 1P
Week 3 - 1V
Week 4 - 1V
Tags (2)
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 ...