Splunk Search

Field values

obularajud16
Explorer
  •  

 

Ghj

sourcetype=access_combined | eval action = if(isnull(action) OR action="", "Unknown", action) | timechart span=40h  values(action),count(action)

 

Labels (2)
0 Karma
1 Solution

obularajud16
Explorer

Got the answer with the below

Spoiler
sourcetype=access_combined | eval action = if(isnull(action) OR action="", "unknown", action) | bin span=72h _time | stats count as totals by action, span(=_time,72h) | sort -_time,action​

View solution in original post

0 Karma

obularajud16
Explorer

Got the answer with the below

Spoiler
sourcetype=access_combined | eval action = if(isnull(action) OR action="", "unknown", action) | bin span=72h _time | stats count as totals by action, span(=_time,72h) | sort -_time,action​
0 Karma

thambisetty
SplunkTrust
SplunkTrust
sourcetype=access_combined 
| eval action = if(isnull(action) OR action="", "Unknown", action) 
| bin _time span=40h 
| chart count over _time by action
————————————
If this helps, give a like below.
0 Karma

to4kawa
Ultra Champion

sourcetype=access_combined | eval action = if(isnull(action) OR action="", "Unknown", action) | timechart span=40h count by action

0 Karma

obularajud16
Explorer

As I mentioned, i need data in row format not in column format to group by multiple fields

 

timechart span=40h count by action, status

 

 

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Easiest way is combine those values like:

eval a_s = action . "-".status 

| timechart span=40h count by a_s

 

Otherwise you must start to play with bin + stats/chart/xyseries

r. Ismo

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...