Hi everyone !
I am a new user in Splunk (Great application and these days very useful); I read this document and I tried to reproduce the search but in my Splunk Free it does not work, reporting this error: Error in 'eval' command: The expression is malformed. An unexpected character is reached at '”%Y-%m-%d %H:%M”)'.
There is some limitation with my version? or the article is have something wrong ? I can not identify the solution...
please help...!!!!
You have the @!#$%^&* Microsoft Windows left-and-right double-quotes ( “
and ”
)instead of the correct ambiguous one ( "
).
You have the @!#$%^&* Microsoft Windows left-and-right double-quotes ( “
and ”
)instead of the correct ambiguous one ( "
).
Thanks a lot..... woodcock 😃
finally i see the error with your comment. ;=)
You probably forgot the comma between the field namd
and the time expression. So you have something like eval foo=strfime(bar "%Y-%m-%d %H:%M")
instead of eval foo=strfime(bar, "%Y-%m-%d %H:%M")
.
hello tomasnelson,
remove the singe quotes ' '
all you need is this: eval blah = srftime(_time, ”%Y-%m-%d %H:%M”)
hello tomasnelson,
remove the singe quotes ' '
all you need is this: eval blah = srftime(_time, ”%Y-%m-%d %H:%M”)