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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...