Splunk Search

Error in eval command

carlyleadmin
Contributor

Hi everyone i am runnig the following search and getting an error.i am sure it is something so simple that i am missing but i can't see it. can someone please help?

alt text

thanks in advance

Tags (1)
0 Karma
1 Solution

DalJeanis
Legend

This kind of thing usually turns out to be an invisible special character.

You can either copy it to an editor where you can turn on "view invisible characters" or just retype the | eval code character by character.

There is exactly one | eval in your code, and the error must be after an open paren ( and before the corresponding close paren ), so start by just retyping the space-minus-space - in the middle of each parenthetical expression.

If that doesn't work, then type over the parenthesis themselves or retype the whole eval.

View solution in original post

0 Karma

DalJeanis
Legend

This kind of thing usually turns out to be an invisible special character.

You can either copy it to an editor where you can turn on "view invisible characters" or just retype the | eval code character by character.

There is exactly one | eval in your code, and the error must be after an open paren ( and before the corresponding close paren ), so start by just retyping the space-minus-space - in the middle of each parenthetical expression.

If that doesn't work, then type over the parenthesis themselves or retype the whole eval.

0 Karma

carlyleadmin
Contributor

will do thanks

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...