<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic getting the error in splunk query in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/getting-the-error-in-splunk-query/m-p/747973#M11955</link>
    <description>&lt;P&gt;| tstats summariesonly=true count From datamodel=Network_Traffic WHERE (All_Traffic.src_ip=* OR All_Traffic.dest_ip=*) | 'drop_dm_object_name("All_Traffic")' | lookup IOC_IPs.csv IP AS src_ip OUTPUT IP AS matched_src | lookup IOC_IPs.csv IP AS dest_ip OUTPUT IP AS matched_dest | where isnotnull (matched_src) OR where isnotnull(matched_dest)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error in 'SearchParser': Missing a search command before '''. Error at position '121' of search query '| tstats summariesonly=true count From datamodel=N...{snipped} {errorcontext = t_ip=*) | 'drop_dm_ob}'&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 15 Jun 2025 17:47:46 GMT</pubDate>
    <dc:creator>nareshkareeti</dc:creator>
    <dc:date>2025-06-15T17:47:46Z</dc:date>
    <item>
      <title>getting the error in splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/getting-the-error-in-splunk-query/m-p/747973#M11955</link>
      <description>&lt;P&gt;| tstats summariesonly=true count From datamodel=Network_Traffic WHERE (All_Traffic.src_ip=* OR All_Traffic.dest_ip=*) | 'drop_dm_object_name("All_Traffic")' | lookup IOC_IPs.csv IP AS src_ip OUTPUT IP AS matched_src | lookup IOC_IPs.csv IP AS dest_ip OUTPUT IP AS matched_dest | where isnotnull (matched_src) OR where isnotnull(matched_dest)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error in 'SearchParser': Missing a search command before '''. Error at position '121' of search query '| tstats summariesonly=true count From datamodel=N...{snipped} {errorcontext = t_ip=*) | 'drop_dm_ob}'&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jun 2025 17:47:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/getting-the-error-in-splunk-query/m-p/747973#M11955</guid>
      <dc:creator>nareshkareeti</dc:creator>
      <dc:date>2025-06-15T17:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: getting the error in splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/getting-the-error-in-splunk-query/m-p/747974#M11956</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/310947"&gt;@nareshkareeti&lt;/a&gt;&amp;nbsp;try&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats summariesonly=true count FROM datamodel=Network_Traffic WHERE (All_Traffic.src_ip=* OR All_Traffic.dest_ip=*) BY All_Traffic.src_ip, All_Traffic.dest_ip
| `drop_dm_object_name("All_Traffic")`&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 15 Jun 2025 21:44:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/getting-the-error-in-splunk-query/m-p/747974#M11956</guid>
      <dc:creator>sainag_splunk</dc:creator>
      <dc:date>2025-06-15T21:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: getting the error in splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/getting-the-error-in-splunk-query/m-p/747977#M11957</link>
      <description>&lt;P&gt;Your SPL has "tick" marks round the macro&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;drop_dm_object_name &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;that&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;are single quotes ('), whereas you need to use the backtick character (`)&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| `drop_dm_object_name("All_Traffic")`&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jun 2025 23:32:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/getting-the-error-in-splunk-query/m-p/747977#M11957</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2025-06-15T23:32:04Z</dc:date>
    </item>
  </channel>
</rss>

