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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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