Splunk Search

input lookup aaa.csv fieldA=staff and fieldA=contractors |stats count

Communicator

Hi,

How can I extract 2 values from fieldA in a lookup and ignore the rest then count as total

0 Karma
1 Solution

Influencer

Try:

| inputlookup aaa.csv where fieldA IN ("staff", "contractors") |stats count

View solution in original post

Influencer

Try:

| inputlookup aaa.csv where fieldA IN ("staff", "contractors") |stats count

View solution in original post

Communicator

Thank you,

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!