How to see IP Address behind Log Streams to CloudWatchAmazon Cloudwatch log filtering - JSON syntaxAWS Firehose not delivering to Redshift - where are the logs?Parse Cloudwatch Log Already Exported to S3AWS Kinesis Connector LibraryAWS Kinesis Firehose is not inserting data in RedshiftCan I stream CloudWatch log group to lambda from another account?Kinesis Agent reports error from python stream dataHow to preserve order of CloudWatch log stream events when transmitting them into another system?An error occurred (InvalidParameterException) when calling the PutSubscriptionFilter operation

What did the Federation give the Prophets in exchange for access to the wormhole in DS9?

Rank-one positive decomposition for a entry-wise positive positive definite matrix

How to level a picture frame hung on a single nail?

IEEE 754 square root with Newton-Raphson

"Tenersi pronto" = to get ready or to be ready

How important is knowledge of trig identities for use in Calculus

How can I find places to store/land a private airplane?

Notation clarity question for a conglomerate of accidentals

Realistically, how much do you need to start investing?

Does the US Armed Forces refuse to recruit anyone with an IQ less than 83?

Isn't the detector always measuring, and thus always collapsing the state?

Can I bring this power bank on board the aircraft?

When Vesuvan Shapeshifter copies turn face up replacement effects, why do they work?

Missing quartile in boxplot

What is the difference between increasing volume and increasing gain?

How to identify whether a publisher is genuine or not?

Booting Ubuntu from USB drive on MSI motherboard -- EVERYTHING fails

Ĉi tie or ĉi-tie? Why do people sometimes hyphenate ĉi tie?

Re-entering the UK after overstaying in 2008

What action is recommended if your accommodation refuses to let you leave without paying additional fees?

Decision Variable Value from a Set (Gurobi)

GPLv3 forces us to make code available, but to who?

How closely correlated is culture to geography?

Could the Queen overturn the UK Supreme Court ruling regarding prorogation of Parliament?



How to see IP Address behind Log Streams to CloudWatch


Amazon Cloudwatch log filtering - JSON syntaxAWS Firehose not delivering to Redshift - where are the logs?Parse Cloudwatch Log Already Exported to S3AWS Kinesis Connector LibraryAWS Kinesis Firehose is not inserting data in RedshiftCan I stream CloudWatch log group to lambda from another account?Kinesis Agent reports error from python stream dataHow to preserve order of CloudWatch log stream events when transmitting them into another system?An error occurred (InvalidParameterException) when calling the PutSubscriptionFilter operation






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0















I am currently using the Python library watchtower to stream JSON log files from a device to CloudWatch.



I now want to use AWS Kinesis Data Firehose to move the logs to Redshift. I am following this tutorial: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html#FirehoseExample



I am now setting up a subscription filter to move the logs. I would like to filter by the IP address the logs are streamed from. This article discusses implementing filters. Here is what I found:



$.sourceIPAddress != 123.123.*



The only problem is, I don't know how if CloudWatch even stores the source IP Address. Is there some way to query CloudWatch to get the source IP address?










share|improve this question
































    0















    I am currently using the Python library watchtower to stream JSON log files from a device to CloudWatch.



    I now want to use AWS Kinesis Data Firehose to move the logs to Redshift. I am following this tutorial: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html#FirehoseExample



    I am now setting up a subscription filter to move the logs. I would like to filter by the IP address the logs are streamed from. This article discusses implementing filters. Here is what I found:



    $.sourceIPAddress != 123.123.*



    The only problem is, I don't know how if CloudWatch even stores the source IP Address. Is there some way to query CloudWatch to get the source IP address?










    share|improve this question




























      0












      0








      0








      I am currently using the Python library watchtower to stream JSON log files from a device to CloudWatch.



      I now want to use AWS Kinesis Data Firehose to move the logs to Redshift. I am following this tutorial: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html#FirehoseExample



      I am now setting up a subscription filter to move the logs. I would like to filter by the IP address the logs are streamed from. This article discusses implementing filters. Here is what I found:



      $.sourceIPAddress != 123.123.*



      The only problem is, I don't know how if CloudWatch even stores the source IP Address. Is there some way to query CloudWatch to get the source IP address?










      share|improve this question
















      I am currently using the Python library watchtower to stream JSON log files from a device to CloudWatch.



      I now want to use AWS Kinesis Data Firehose to move the logs to Redshift. I am following this tutorial: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html#FirehoseExample



      I am now setting up a subscription filter to move the logs. I would like to filter by the IP address the logs are streamed from. This article discusses implementing filters. Here is what I found:



      $.sourceIPAddress != 123.123.*



      The only problem is, I don't know how if CloudWatch even stores the source IP Address. Is there some way to query CloudWatch to get the source IP address?







      amazon-web-services aws-cli amazon-kinesis-firehose amazon-cloudwatch






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 28 at 21:23









      rene

      35k12 gold badges85 silver badges117 bronze badges




      35k12 gold badges85 silver badges117 bronze badges










      asked Mar 28 at 21:03









      Intrastellar ExplorerIntrastellar Explorer

      31415 bronze badges




      31415 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          1
















          You can query it if it's part of the log you are sending to the cloudwatch-logs. So if there is a json field "sourceIPAddress" in the log you can use your filter -



           $.sourceIPAddress != 123.123.* 


          You can check the content of the log in the log-group/log-stream.






          share|improve this answer




















          • 1





            Ahh that answers my question @v_sukt, I wasn't sure if it was built in behind the scenes. I guess it has to be explicit. Thanks!

            – Intrastellar Explorer
            Mar 29 at 16:21












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55406814%2fhow-to-see-ip-address-behind-log-streams-to-cloudwatch%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1
















          You can query it if it's part of the log you are sending to the cloudwatch-logs. So if there is a json field "sourceIPAddress" in the log you can use your filter -



           $.sourceIPAddress != 123.123.* 


          You can check the content of the log in the log-group/log-stream.






          share|improve this answer




















          • 1





            Ahh that answers my question @v_sukt, I wasn't sure if it was built in behind the scenes. I guess it has to be explicit. Thanks!

            – Intrastellar Explorer
            Mar 29 at 16:21















          1
















          You can query it if it's part of the log you are sending to the cloudwatch-logs. So if there is a json field "sourceIPAddress" in the log you can use your filter -



           $.sourceIPAddress != 123.123.* 


          You can check the content of the log in the log-group/log-stream.






          share|improve this answer




















          • 1





            Ahh that answers my question @v_sukt, I wasn't sure if it was built in behind the scenes. I guess it has to be explicit. Thanks!

            – Intrastellar Explorer
            Mar 29 at 16:21













          1














          1










          1









          You can query it if it's part of the log you are sending to the cloudwatch-logs. So if there is a json field "sourceIPAddress" in the log you can use your filter -



           $.sourceIPAddress != 123.123.* 


          You can check the content of the log in the log-group/log-stream.






          share|improve this answer













          You can query it if it's part of the log you are sending to the cloudwatch-logs. So if there is a json field "sourceIPAddress" in the log you can use your filter -



           $.sourceIPAddress != 123.123.* 


          You can check the content of the log in the log-group/log-stream.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 29 at 10:54









          v_suktv_sukt

          8543 silver badges19 bronze badges




          8543 silver badges19 bronze badges










          • 1





            Ahh that answers my question @v_sukt, I wasn't sure if it was built in behind the scenes. I guess it has to be explicit. Thanks!

            – Intrastellar Explorer
            Mar 29 at 16:21












          • 1





            Ahh that answers my question @v_sukt, I wasn't sure if it was built in behind the scenes. I guess it has to be explicit. Thanks!

            – Intrastellar Explorer
            Mar 29 at 16:21







          1




          1





          Ahh that answers my question @v_sukt, I wasn't sure if it was built in behind the scenes. I guess it has to be explicit. Thanks!

          – Intrastellar Explorer
          Mar 29 at 16:21





          Ahh that answers my question @v_sukt, I wasn't sure if it was built in behind the scenes. I guess it has to be explicit. Thanks!

          – Intrastellar Explorer
          Mar 29 at 16:21




















          draft saved

          draft discarded















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55406814%2fhow-to-see-ip-address-behind-log-streams-to-cloudwatch%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해