<?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 Re: How to not automatically invoke the spath command in raw data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329503#M98056</link>
    <description>&lt;P&gt;@nawazns5038, can you elaborate more on your issue. What is the data you are looking at and What you click and which search runs by default. Community members will be able to assist you better if there was more detail!&lt;/P&gt;</description>
    <pubDate>Thu, 12 Apr 2018 19:57:58 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-04-12T19:57:58Z</dc:date>
    <item>
      <title>How to not automatically invoke the spath command in raw data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329502#M98055</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We are using  JSON data and the field extractions are done already. So we no need to use the spath command. But when we click on raw data and add it to the search the spath command is automatically invoked. How can we correct that, the spath command takes a lot of time and is not needed in our case. &lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 18:21:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329502#M98055</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2018-04-12T18:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to not automatically invoke the spath command in raw data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329503#M98056</link>
      <description>&lt;P&gt;@nawazns5038, can you elaborate more on your issue. What is the data you are looking at and What you click and which search runs by default. Community members will be able to assist you better if there was more detail!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 19:57:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329503#M98056</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-12T19:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to not automatically invoke the spath command in raw data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329504#M98057</link>
      <description>&lt;P&gt;sure..&lt;/P&gt;

&lt;P&gt;{&lt;BR /&gt;&lt;BR /&gt;
     action:     xxxxxxxx&lt;BR /&gt;&lt;BR /&gt;
     dnsQName:   xxxxxxx&lt;BR /&gt;
     dstIPv4:    xxxxxxxxx&lt;BR /&gt;
     dstPort:   xxxxxxxxx&lt;BR /&gt;
     fileMd5:    xxxxxxxxxxxxxxxxxxxx&lt;BR /&gt;
     localEndpoint:  xxxxxxx&lt;BR /&gt;
     pGuid:  xxxxxxxxxxxx&lt;BR /&gt;&lt;BR /&gt;
     pName:  xxxxxxxxxx &lt;BR /&gt;
     pid:    xxxxxxxxxxx&lt;BR /&gt;
     proto:  TCP&lt;BR /&gt;&lt;BR /&gt;
     protoVersion:  xxxxxxxxx&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;That is the example event we are having, suppose if we click on TCP and say add to search, it will not add "proto=TCP" to the search , instead it will do this,&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=abcd | spath proto | search proto=TCP&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;where you can see the spath command invoked and it takes a lot of time for the completion and is not necessary in our case where the field values are already extracted. &lt;/P&gt;

&lt;P&gt;We have a lot of users and some random users coming and in and going, so better to disable the feature than intimating everyone &lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 21:14:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329504#M98057</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2018-04-13T21:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to not automatically invoke the spath command in raw data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329505#M98058</link>
      <description>&lt;P&gt;hmmm this looks like some issue with index time - &lt;/P&gt;

&lt;P&gt;Can you try setting the follwoing&lt;BR /&gt;
 indexed_extractions=JSON or  KV_MODE=JSON in the props.conf file&lt;BR /&gt;
I suspect this is missing&lt;/P&gt;

&lt;P&gt;Refer spath doc here  -  &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Spath" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Spath&lt;/A&gt;&lt;BR /&gt;
Sectionm Alternative to the spath command&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:02:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329505#M98058</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2020-09-29T19:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to not automatically invoke the spath command in raw data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329506#M98059</link>
      <description>&lt;P&gt;@nawazns5038, as suggested by @Sukisen1981, please share your props.conf used the JSON data.&lt;BR /&gt;
You should try the following settings:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;INDEXED_EXTRACTIONS=json
KV_MODE=none
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I was able to search directly by field names upon drilldown unlike the spath command.&lt;/P&gt;

&lt;P&gt;Also is the drilldown from raw search or is it from existing table? Is it possible that the query that populates the table is using spath and your drilldown is on top of that query rather than raw events?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 16:25:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329506#M98059</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-15T16:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to not automatically invoke the spath command in raw data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329507#M98060</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/182782"&gt;@Sukisen1981&lt;/a&gt; , &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;[json_time]&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
TIME_FORMAT =%F %T.%3N&lt;BR /&gt;
TIME_PREFIX =time\":\"&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 25&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
TZ = UTC&lt;/P&gt;

&lt;H1&gt;INDEXED_EXTRACTIONS =  json&lt;/H1&gt;

&lt;P&gt;NO_BINARY_CHECK=true&lt;BR /&gt;
KV_MODE = none&lt;BR /&gt;
LINE_BREAKER = ([\r\n]+){&lt;BR /&gt;
AUTO_KV_JSON = false&lt;/P&gt;

&lt;P&gt;The above is the props.conf begin used and I don't think we need to use   &lt;CODE&gt;INDEXED_EXTRACTIONS=json&lt;/CODE&gt; as it may cause double extractions of the fields, as mentioned the field values are extracted automatically, just by using above props.conf. &lt;/P&gt;

&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;  it is coming from the _raw events itself, &lt;/P&gt;

&lt;P&gt;You can search for an index .... like index=abcd. After the _raw events are displayed you can chose a value and add to the search it invokes the spath automatically. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:02:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329507#M98060</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2020-09-29T19:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to not automatically invoke the spath command in raw data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329508#M98061</link>
      <description>&lt;P&gt;does the following search work?&lt;BR /&gt;
&lt;CODE&gt;index=abcd proto=TCP&lt;/CODE&gt;&lt;BR /&gt;
 If so there may not be a problem. The behavior you are describing, with spath being added to the search, is the default behavior when Splunk detects JSON or XML events. If there is a way to turn it off, you may not want to as it will turn off the behavior for all JSON or XML inputs. &lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:53:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329508#M98061</guid>
      <dc:creator>cstump_splunk</dc:creator>
      <dc:date>2018-04-17T13:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to not automatically invoke the spath command in raw data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329509#M98062</link>
      <description>&lt;P&gt;we don't need that to any of the inputs all the data sources are straight forward with fields extracted. &lt;/P&gt;

&lt;P&gt;Do you know how to turn the default Splunk feature off ??&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 23:13:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-not-automatically-invoke-the-spath-command-in-raw-data/m-p/329509#M98062</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2018-04-17T23:13:31Z</dc:date>
    </item>
  </channel>
</rss>

