<?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: Want To extract  values from query output and create a table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695079#M236379</link>
    <description>&lt;P&gt;What is this that you have just shown? Please provide a screenshot&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2024 11:33:15 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-08-02T11:33:15Z</dc:date>
    <item>
      <title>Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695066#M236369</link>
      <description>&lt;P&gt;Here is the my output data. i want to create a table for path and responsetime . can you please help.&lt;/P&gt;&lt;P&gt;Expecting output is below:&lt;/P&gt;&lt;P&gt;path&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;responsetime&lt;/P&gt;&lt;P&gt;/rkedgeapp/provider/dental/keysearch/&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;156&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"time": 1722582494370,"host1": "arn:aws:firehose:ca-central-1:2222222:deliverystream/Splunk-Kinesis-apigateway-CA","source1": "rkedgevil-restapi-Access-Logs:API-Gateway-Access-Logs_8o2y6hzl6e/prod","event": "{ \"requestId\":\"d85fa529-3979-44a3-9018-21f81e12eafd\", \"ip\": \"40.82.191.190\", \"caller\":\"-\", \"user\":\"-\",\"requestTime\":\"02/Aug/2024:07:08:14 +0000\", \"httpMethod\":\"POST\",\"resourcePath\":\"/{proxy+}\", \"status\":\"200\",\"protocol\":\"HTTP/1.1\", \"responseLength\":\"573\", \"clientCertIssuerDN\":\"C=GB,ST=Greater Manchester,L=Salford,O=Sectigo Limited,CN=Sectigo RSA Organization Validation Secure Server CA\", \"clientCertSerialNumber\":\"22210811239199552309700144370732535146\", \"clientCertNotBefore\":\"Jan 22 00:00:00 2024 GMT\", \"clientCertNotAfter\":\"Jan 21 23:59:59 2025 GMT\", \"path\":\"/rkedgeapp/provider/dental/keysearch/\", \"responsetime\":\"156\" }"}&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 10:19:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695066#M236369</guid>
      <dc:creator>RKP</dc:creator>
      <dc:date>2024-08-02T10:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695067#M236370</link>
      <description>&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval _raw="{\"time\": 1722582494370,\"host1\": \"arn:aws:firehose:ca-central-1:2222222:deliverystream/Splunk-Kinesis-apigateway-CA\",\"source1\": \"rkedgevil-restapi-Access-Logs:API-Gateway-Access-Logs_8o2y6hzl6e/prod\",\"event\": \"{ \\\"requestId\\\":\\\"d85fa529-3979-44a3-9018-21f81e12eafd\\\", \\\"ip\\\": \\\"40.82.191.190\\\", \\\"caller\\\":\\\"-\\\", \\\"user\\\":\\\"-\\\",\\\"requestTime\\\":\\\"02/Aug/2024:07:08:14 +0000\\\", \\\"httpMethod\\\":\\\"POST\\\",\\\"resourcePath\\\":\\\"/{proxy+}\\\", \\\"status\\\":\\\"200\\\",\\\"protocol\\\":\\\"HTTP/1.1\\\", \\\"responseLength\\\":\\\"573\\\", \\\"clientCertIssuerDN\\\":\\\"C=GB,ST=Greater Manchester,L=Salford,O=Sectigo Limited,CN=Sectigo RSA Organization Validation Secure Server CA\\\", \\\"clientCertSerialNumber\\\":\\\"22210811239199552309700144370732535146\\\", \\\"clientCertNotBefore\\\":\\\"Jan 22 00:00:00 2024 GMT\\\", \\\"clientCertNotAfter\\\":\\\"Jan 21 23:59:59 2025 GMT\\\", \\\"path\\\":\\\"/rkedgeapp/provider/dental/keysearch/\\\", \\\"responsetime\\\":\\\"156\\\" }\"}"
``` the line above recreate your sample event ```
| spath
| spath input=event
| table path responsetime&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 02 Aug 2024 10:34:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695067#M236370</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-02T10:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695068#M236371</link>
      <description>&lt;P&gt;Below&amp;nbsp; query is giving the 3000 events like that, how can i make this command work for that. can please give the straight command.&lt;/P&gt;&lt;P&gt;index="aws-apigateway" source1="rkedgevil-restapi-Access-Logs:API-Gateway-Access-Logs_8o2y6hzl/prod"&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 10:46:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695068#M236371</guid>
      <dc:creator>RKP</dc:creator>
      <dc:date>2024-08-02T10:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695069#M236372</link>
      <description>&lt;P&gt;Below&amp;nbsp; query is giving the 3000 events like that, how can i make this command work for that. can please give the straight command.&lt;/P&gt;&lt;P&gt;index="aws-apigateway" source1="rkedgevil-restapi-Access-Logs:API-Gateway-Access-Logs_8o2y6hzl/prod"&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 10:55:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695069#M236372</guid>
      <dc:creator>RKP</dc:creator>
      <dc:date>2024-08-02T10:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695070#M236373</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="aws-apigateway" source1="rkedgevil-restapi-Access-Logs:API-Gateway-Access-Logs_8o2y6hzl/prod"
| spath
| spath input=event
| table path responsetime&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;You may not need the first spath command if your ingestion path already recognises JSON data format.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 11:05:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695070#M236373</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-02T11:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695074#M236375</link>
      <description>&lt;P&gt;Getting empty tables.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RKP_0-1722597209244.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32012iB812B979715A6C98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RKP_0-1722597209244.png" alt="RKP_0-1722597209244.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RKP_1-1722597224751.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32013iFB5B978392B1EB14/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RKP_1-1722597224751.png" alt="RKP_1-1722597224751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 11:14:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695074#M236375</guid>
      <dc:creator>RKP</dc:creator>
      <dc:date>2024-08-02T11:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695075#M236376</link>
      <description>&lt;P&gt;Remove the table command and see what you get&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 11:21:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695075#M236376</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-02T11:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695076#M236377</link>
      <description>&lt;P&gt;Its giving same output which i provided 1st.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{"time": 1722597668055,"host1": "arn:aws:firehose:ca-central-1:2222:deliverystream/Splunk-Kinesis-apigateway-CA","source1": "manuuatedgevil-restapi-Access-Logs:API-Gateway-Access-Logs_8o2y6hzl6e/prod","event": "{ \"requestId\":\"dffc1e08-83d7-4801-b10d-239efd1b7f7d\", \"ip\": \"40.82.191.190\", \"caller\":\"-\", \"user\":\"-\",\"requestTime\":\"02/Aug/2024:11:21:08 +0000\", \"httpMethod\":\"POST\",\"resourcePath\":\"/{proxy+}\", \"status\":\"200\",\"protocol\":\"HTTP/1.1\", \"responseLength\":\"573\", \"clientCertIssuerDN\":\"C=GB,ST=Greater Manchester,L=Salford,O=Sectigo Limited,CN=Sectigo RSA Organization Validation Secure Server CA\", \"clientCertSerialNumber\":\"22210811239199552309700144370732535146\", \"clientCertNotBefore\":\"Jan 22 00:00:00 2024 GMT\", \"clientCertNotAfter\":\"Jan 21 23:59:59 2025 GMT\", \"path\":\"/rkedgeapp/provider/dental/keysearch/\", \"responsetime\":\"172\" }"}&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 02 Aug 2024 11:34:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695076#M236377</guid>
      <dc:creator>RKP</dc:creator>
      <dc:date>2024-08-02T11:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695079#M236379</link>
      <description>&lt;P&gt;What is this that you have just shown? Please provide a screenshot&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 11:33:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695079#M236379</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-02T11:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695083#M236381</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RKP_0-1722599050923.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32014iEA8F7F8699BB985B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RKP_0-1722599050923.png" alt="RKP_0-1722599050923.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 11:44:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695083#M236381</guid>
      <dc:creator>RKP</dc:creator>
      <dc:date>2024-08-02T11:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695085#M236383</link>
      <description>&lt;P&gt;What do you get if you do this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="aws-apigateway" source1="rkedgevil-restapi-Access-Logs:API-Gateway-Access-Logs_8o2y6hzl/prod"
| table event&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 02 Aug 2024 11:55:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695085#M236383</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-02T11:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695087#M236384</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RKP_0-1722600240785.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32015i9649EBC510F5040A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RKP_0-1722600240785.png" alt="RKP_0-1722600240785.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 12:04:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695087#M236384</guid>
      <dc:creator>RKP</dc:creator>
      <dc:date>2024-08-02T12:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695088#M236385</link>
      <description>&lt;P&gt;What about when you do this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="aws-apigateway" source1="rkedgevil-restapi-Access-Logs:API-Gateway-Access-Logs_8o2y6hzl/prod"
| spath input=event&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 02 Aug 2024 12:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695088#M236385</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-02T12:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695092#M236386</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RKP_0-1722601111019.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32016i457C9F77121F8D00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RKP_0-1722601111019.png" alt="RKP_0-1722601111019.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 12:18:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695092#M236386</guid>
      <dc:creator>RKP</dc:creator>
      <dc:date>2024-08-02T12:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695094#M236387</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="aws-apigateway" source1="rkedgevil-restapi-Access-Logs:API-Gateway-Access-Logs_8o2y6hzl/prod"
| spath input=event
| table *&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 02 Aug 2024 12:31:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695094#M236387</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-02T12:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695098#M236388</link>
      <description>&lt;P&gt;Its showing most of the values but there is no path and responsetime&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RKP_1-1722603588838.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32018i3F701F8060FAC736/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RKP_1-1722603588838.png" alt="RKP_1-1722603588838.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RKP_2-1722603652581.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32019iE42D5C049DF3011A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RKP_2-1722603652581.png" alt="RKP_2-1722603652581.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 13:00:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695098#M236388</guid>
      <dc:creator>RKP</dc:creator>
      <dc:date>2024-08-02T13:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Want To extract  values from query output and create a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695099#M236389</link>
      <description>&lt;P&gt;Can you do the same but scroll the view to the right to show the fields beginning with "p"&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 13:34:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Want-To-extract-values-from-query-output-and-create-a-table/m-p/695099#M236389</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-02T13:34:43Z</dc:date>
    </item>
  </channel>
</rss>

