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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...