Splunk Search

How to count the number of issues (from Jira) that were created, only once?

YuliyaVassilyev
Explorer

I have data from Jira in Splunk, and issues (stories in particular) are counted multiple times because of modifications. For example I created a story and then edited it. Now it is counted twice in Splunk, but it should only be one story count. How to make sure it is only counted once.

0 Karma
1 Solution

efavreau
Motivator

@YuliyaVassilyeva Depending on your search query, there are a few ways. If you're using something common like stats or timechart, you might use distinct count. Example:

| stats dc(story) as DistinctCount
###

If this reply helps you, an upvote would be appreciated.

View solution in original post

efavreau
Motivator

@YuliyaVassilyeva Depending on your search query, there are a few ways. If you're using something common like stats or timechart, you might use distinct count. Example:

| stats dc(story) as DistinctCount
###

If this reply helps you, an upvote would be appreciated.

YuliyaVassilyev
Explorer

That worked. Thank you!

0 Karma

efavreau
Motivator

@YuliyaVassilyeva Glad it worked! Please accept the answer, so others in Splunk Answers know this question has an acceptable answer. 🙂

###

If this reply helps you, an upvote would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...