<?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 take multiple lines of single event data automatically in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316351#M161469</link>
    <description>&lt;P&gt;makeresults &lt;BR /&gt;
 | eval allmydata="ip = 10.60.11.170 , value = 46&lt;BR /&gt;
 ip = 10.60.11.168 , value = 47&lt;BR /&gt;
 ip = 10.60.11.171 , value = 48&lt;BR /&gt;
 ip = 10.60.11.167 , value = 47"&lt;BR /&gt;
 | rex field=allmydata max_match=0 "(?ip = ([\d.]+) , value = (\d+))"&lt;BR /&gt;
 | fields thedata&lt;BR /&gt;
 | mvexpand thedata&lt;BR /&gt;
 | rex field=thedata max_match=0 "ip = (?[\d.]+) , value = (?\d+)"&lt;BR /&gt;
 | table ip value&lt;/P&gt;

&lt;P&gt;This is my query...&lt;BR /&gt;
i want to avoid this manual thing everytime &lt;BR /&gt;
"ip = 10.60.11.170 , value = 46&lt;BR /&gt;
 ip = 10.60.11.168 , value = 47&lt;BR /&gt;
 ip = 10.60.11.171 , value = 48&lt;BR /&gt;
 ip = 10.60.11.167 , value = 47"&lt;/P&gt;

&lt;P&gt;is there any possiblity,do let me know?&lt;BR /&gt;
Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 13:35:17 GMT</pubDate>
    <dc:creator>prathapkcsc</dc:creator>
    <dc:date>2020-09-29T13:35:17Z</dc:date>
    <item>
      <title>how to take multiple lines of single event data automatically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316344#M161462</link>
      <description>&lt;P&gt;My event has like this data &lt;BR /&gt;
ip = 10.60.11.170 , value = 46&lt;BR /&gt;
 ip = 10.60.11.168 , value = 47&lt;BR /&gt;
 ip = 10.60.11.171 , value = 48&lt;BR /&gt;
 ip = 10.60.11.167 , value = 47&lt;BR /&gt;
for this i wrote a query &lt;BR /&gt;
 | makeresults &lt;BR /&gt;
 | eval allmydata="ip = 10.60.11.170 , value = 46&lt;BR /&gt;
 ip = 10.60.11.168 , value = 47&lt;BR /&gt;
 ip = 10.60.11.171 , value = 48&lt;BR /&gt;
 ip = 10.60.11.167 , value = 47"&lt;/P&gt;

&lt;P&gt;by using above queries perfectly am able to read the values.But the problem is every time i need to copy paste the event data. Is there anyway that even data can be read automatically?&lt;/P&gt;

&lt;P&gt;Please anyone can help me?&lt;BR /&gt;
Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 08 Apr 2017 15:48:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316344#M161462</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2017-04-08T15:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to take multiple lines of single event data automatically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316345#M161463</link>
      <description>&lt;P&gt;Yes, put &lt;CODE&gt;| outputscsv SomeFileName.csv&lt;/CODE&gt; on the end and then to get it back, start out your search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputcsv SomeFileName.csv ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can also use a &lt;CODE&gt;macro&lt;/CODE&gt;:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/Macrosconf"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/Macrosconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2017 18:58:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316345#M161463</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-04-09T18:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to take multiple lines of single event data automatically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316346#M161464</link>
      <description>&lt;P&gt;Can you elaborate this?&lt;BR /&gt;
I cannot understand...&lt;BR /&gt;
Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 02:35:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316346#M161464</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2017-04-10T02:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to take multiple lines of single event data automatically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316347#M161465</link>
      <description>&lt;P&gt;makeresults &lt;BR /&gt;
 | eval allmydata="ip = 10.60.11.170 , value = 46&lt;BR /&gt;
 ip = 10.60.11.168 , value = 47&lt;BR /&gt;
 ip = 10.60.11.171 , value = 48&lt;BR /&gt;
 ip = 10.60.11.167 , value = 47"&lt;BR /&gt;
 | rex field=allmydata max_match=0 "(?ip = ([\d.]+) , value = (\d+))"&lt;BR /&gt;
 | fields thedata&lt;BR /&gt;
 | mvexpand thedata&lt;BR /&gt;
 | rex field=thedata max_match=0 "ip = (?[\d.]+) , value = (?\d+)"&lt;BR /&gt;
 | table ip value&lt;/P&gt;

&lt;P&gt;This is my query...&lt;BR /&gt;
Wherr can i make changes according to my requirement .&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:37:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316347#M161465</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2020-09-29T13:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to take multiple lines of single event data automatically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316348#M161466</link>
      <description>&lt;P&gt;I want to avoid that all event data in eval command&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 02:43:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316348#M161466</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2017-04-10T02:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to take multiple lines of single event data automatically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316349#M161467</link>
      <description>&lt;P&gt;Do this first:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval allmydata="ip = 10.60.11.170 , value = 46::ip = 10.60.11.168 , value = 47::ip = 10.60.11.171 , value = 48::ip = 10.60.11.167 , value = 47"
| makemv delim="::" allmydata
| mvexpand allmydata
| outputcsv allmydata.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputcsv allmydata.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bob's your uncle!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 03:20:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316349#M161467</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-04-10T03:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to take multiple lines of single event data automatically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316350#M161468</link>
      <description>&lt;P&gt;allmydata="ip = 10.60.11.170 , value = 46::ip = 10.60.11.168 , value = 47::ip = 10.60.11.171 , value = 48::ip = 10.60.11.167 , value = 47"&lt;/P&gt;

&lt;P&gt;I dont want to give all this ip,value manually,splunk has to read automatically.&lt;/P&gt;

&lt;P&gt;is it possible?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 04:41:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316350#M161468</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2017-04-10T04:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to take multiple lines of single event data automatically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316351#M161469</link>
      <description>&lt;P&gt;makeresults &lt;BR /&gt;
 | eval allmydata="ip = 10.60.11.170 , value = 46&lt;BR /&gt;
 ip = 10.60.11.168 , value = 47&lt;BR /&gt;
 ip = 10.60.11.171 , value = 48&lt;BR /&gt;
 ip = 10.60.11.167 , value = 47"&lt;BR /&gt;
 | rex field=allmydata max_match=0 "(?ip = ([\d.]+) , value = (\d+))"&lt;BR /&gt;
 | fields thedata&lt;BR /&gt;
 | mvexpand thedata&lt;BR /&gt;
 | rex field=thedata max_match=0 "ip = (?[\d.]+) , value = (?\d+)"&lt;BR /&gt;
 | table ip value&lt;/P&gt;

&lt;P&gt;This is my query...&lt;BR /&gt;
i want to avoid this manual thing everytime &lt;BR /&gt;
"ip = 10.60.11.170 , value = 46&lt;BR /&gt;
 ip = 10.60.11.168 , value = 47&lt;BR /&gt;
 ip = 10.60.11.171 , value = 48&lt;BR /&gt;
 ip = 10.60.11.167 , value = 47"&lt;/P&gt;

&lt;P&gt;is there any possiblity,do let me know?&lt;BR /&gt;
Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:35:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316351#M161469</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2020-09-29T13:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to take multiple lines of single event data automatically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316352#M161470</link>
      <description>&lt;P&gt;"ip = 10.60.11.170 , value = 46&lt;BR /&gt;
 ip = 10.60.11.168 , value = 47&lt;BR /&gt;
 ip = 10.60.11.171 , value = 48&lt;BR /&gt;
 ip = 10.60.11.167 , value = 47"&lt;/P&gt;

&lt;P&gt;I want to avoid this manual thing..&lt;BR /&gt;
splunk has to read this automatically&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 04:52:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316352#M161470</guid>
      <dc:creator>prathapkcsc</dc:creator>
      <dc:date>2017-04-10T04:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to take multiple lines of single event data automatically</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316353#M161471</link>
      <description>&lt;P&gt;Sure, but where are you planning to get the IP data? From a DB?  Use DBConnect. From a search?  Just do it.  The &lt;CODE&gt;makeresults&lt;/CODE&gt; stuff was just my way of manufacturing it out of thin air.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 18:09:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-take-multiple-lines-of-single-event-data-automatically/m-p/316353#M161471</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-16T18:09:06Z</dc:date>
    </item>
  </channel>
</rss>

